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.13.0" 13keywords = ["rpc", "grpc", "async", "reflection"] 14license = "MIT" 15name = "tonic-reflection" 16readme = "README.md" 17repository = "https://github.com/hyperium/tonic" 18version = "0.13.0" 19rust-version = { workspace = true } 20 21[package.metadata.docs.rs] 22all-features = true 23rustdoc-args = ["--cfg", "docsrs"] 24 25[features] 26server = ["dep:prost-types", "dep:tokio", "dep:tokio-stream"] 27default = ["server"] 28 29[dependencies] 30prost = "0.13" 31prost-types = {version = "0.13", optional = true} 32tokio = { version = "1.0", features = ["sync", "rt"], optional = true } 33tokio-stream = {version = "0.1", default-features = false, optional = true } 34tonic = { version = "0.13.0", path = "../tonic", default-features = false, features = ["codegen", "prost"] } 35 36[dev-dependencies] 37tokio-stream = {version = "0.1", default-features = false, features = ["net"]} 38tonic = { version = "0.13.0", path = "../tonic", default-features = false, features = ["transport"] } 39 40[lints] 41workspace = true 42 43[package.metadata.cargo_check_external_types] 44allowed_external_types = [ 45 "tonic::*", 46 47 # major released 48 "bytes::*", 49 "http::*", 50 "http_body::*", 51 52 # not major released 53 "prost::*", 54 "prost_types::*", 55 56 "futures_core::stream::Stream", 57 "tower_service::Service", 58] 59