-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (48 loc) · 1.56 KB
/
Cargo.toml
File metadata and controls
57 lines (48 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[package]
authors = [
"James Nugent <james@jen20.com>",
"Samani G. Gikandi <samani@gojulas.com>",
]
categories = ["network-programming", "asynchronous"]
description = """
Server Reflection module of `tonic` gRPC implementation.
"""
edition = "2021"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "async", "reflection"]
license = "MIT AND Apache-2.0"
name = "tonic-reflection"
readme = "README.md"
repository = "https://github.com/hyperium/tonic"
version = "0.14.0"
rust-version = { workspace = true }
[package.metadata.docs.rs]
all-features = true
[features]
server = ["dep:prost-types", "dep:tokio", "dep:tokio-stream"]
default = ["server"]
[dependencies]
prost = "0.14"
prost-types = {version = "0.14", optional = true}
tokio = { version = "1.0", features = ["sync", "rt"], optional = true }
tokio-stream = {version = "0.1", default-features = false, optional = true }
tonic = { version = "0.14.0", path = "../tonic", default-features = false, features = ["codegen"] }
tonic-prost = { version = "0.14.0", path = "../tonic-prost", default-features = false }
[dev-dependencies]
tokio-stream = {version = "0.1", default-features = false, features = ["net"]}
tonic = { version = "0.14.0", path = "../tonic", default-features = false, features = ["transport"] }
[lints]
workspace = true
[package.metadata.cargo_check_external_types]
allowed_external_types = [
"tonic::*",
# major released
"bytes::*",
"http::*",
"http_body::*",
# not major released
"prost::*",
"prost_types::*",
"futures_core::stream::Stream",
"tower_service::Service",
]