xref: /tonic/tonic-reflection/Cargo.toml (revision 31dbbcae)
1[package]
2authors = [
3  "James Nugent <[email protected]>",
4  "Samani G. Gikandi <[email protected]>",
5]
6categories = ["network-programming", "asynchronous"]
7description = """
8Server Reflection module of `tonic` gRPC implementation.
9"""
10edition = "2021"
11homepage = "https://github.com/hyperium/tonic"
12documentation = "https://docs.rs/tonic-reflection/0.11.0"
13keywords = ["rpc", "grpc", "async", "reflection"]
14license = "MIT"
15name = "tonic-reflection"
16readme = "README.md"
17repository = "https://github.com/hyperium/tonic"
18version = "0.11.0"
19
20[package.metadata.docs.rs]
21all-features = true
22rustdoc-args = ["--cfg", "docsrs"]
23
24[features]
25server = ["prost-types", "dep:tokio", "dep:tokio-stream"]
26default = ["server"]
27
28[dependencies]
29prost = "0.12"
30prost-types = {version = "0.12", optional = true}
31tokio = { version = "1.0", features = ["sync", "rt"], optional = true }
32tokio-stream = {version = "0.1", features = ["net"], optional = true }
33tonic = { version = "0.11", path = "../tonic", default-features = false, features = ["codegen", "prost"] }
34
35[dev-dependencies]
36tonic = { version = "0.11", path = "../tonic", default-features = false, features = ["transport"] }
37