-
Notifications
You must be signed in to change notification settings - Fork 1k
/
Cargo.toml
54 lines (46 loc) · 1.43 KB
/
Cargo.toml
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
[package]
authors = [
"James Nugent <[email protected]>",
"Samani G. Gikandi <[email protected]>",
]
categories = ["network-programming", "asynchronous"]
description = """
Server Reflection module of `tonic` gRPC implementation.
"""
edition = "2021"
homepage = "https://github.com/hyperium/tonic"
documentation = "https://docs.rs/tonic-reflection/0.13.0"
keywords = ["rpc", "grpc", "async", "reflection"]
license = "MIT"
name = "tonic-reflection"
readme = "README.md"
repository = "https://github.com/hyperium/tonic"
version = "0.13.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
server = ["prost-types", "dep:tokio", "dep:tokio-stream"]
default = ["server"]
[dependencies]
pin-project = "1"
prost = "0.13"
prost-types = {version = "0.13", optional = true}
tokio = { version = "1.0", features = ["sync", "rt"], optional = true }
tokio-stream = {version = "0.1", features = ["net"], optional = true }
tonic = { version = "0.13.0", path = "../tonic", default-features = false, features = ["codegen", "prost"] }
[dev-dependencies]
tonic = { version = "0.13.0", path = "../tonic", default-features = false, features = ["transport"] }
[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",
]