# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "tonic" version = "0.10.2" authors = ["Lucio Franco "] description = """ A gRPC over HTTP/2 implementation focused on high performance, interoperability, and flexibility. """ homepage = "https://github.com/hyperium/tonic" documentation = "https://docs.rs/tonic/0.10.2" readme = "README.md" keywords = [ "rpc", "grpc", "async", "futures", "protobuf", ] categories = [ "web-programming", "network-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/hyperium/tonic" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[bench]] name = "decode" harness = false [dependencies.async-stream] version = "0.3" optional = true [dependencies.async-trait] version = "0.1.13" optional = true [dependencies.axum] version = "0.6.9" optional = true default_features = false [dependencies.base64] version = "0.21" [dependencies.bytes] version = "1.0" [dependencies.flate2] version = "1.0" optional = true [dependencies.h2] version = "0.3.17" optional = true [dependencies.http] version = "0.2" [dependencies.http-body] version = "0.4.4" [dependencies.hyper] version = "0.14.26" features = ["full"] optional = true [dependencies.hyper-timeout] version = "0.4" optional = true [dependencies.percent-encoding] version = "2.1" [dependencies.pin-project] version = "1.0.11" [dependencies.prost] version = "0.12" features = ["std"] optional = true default-features = false [dependencies.rustls] version = "0.21.7" optional = true [dependencies.rustls-native-certs] version = "0.6.3" optional = true [dependencies.rustls-pemfile] version = "1.0" optional = true [dependencies.tokio] version = "1.0.1" [dependencies.tokio-rustls] version = "0.24.1" optional = true [dependencies.tokio-stream] version = "0.1" [dependencies.tower] version = "0.4.7" features = [ "balance", "buffer", "discover", "limit", "load", "make", "timeout", "util", ] optional = true default-features = false [dependencies.tower-layer] version = "0.3" [dependencies.tower-service] version = "0.3" [dependencies.tracing] version = "0.1" [dependencies.webpki-roots] version = "0.25.0" optional = true [dev-dependencies.bencher] version = "0.1.5" [dev-dependencies.quickcheck] version = "1.0" [dev-dependencies.quickcheck_macros] version = "1.0" [dev-dependencies.rand] version = "0.8" [dev-dependencies.static_assertions] version = "1.0" [dev-dependencies.tokio] version = "1.0" features = [ "rt", "macros", ] [dev-dependencies.tower] version = "0.4.7" features = ["full"] [features] channel = [] codegen = ["dep:async-trait"] default = [ "transport", "codegen", "prost", ] gzip = ["dep:flate2"] prost = ["dep:prost"] tls = [ "dep:rustls-pemfile", "transport", "dep:tokio-rustls", "dep:rustls", "tokio/rt", "tokio/macros", ] tls-roots = [ "tls-roots-common", "dep:rustls-native-certs", ] tls-roots-common = ["tls"] tls-webpki-roots = [ "tls-roots-common", "dep:webpki-roots", ] transport = [ "dep:async-stream", "dep:axum", "channel", "dep:h2", "dep:hyper", "tokio/net", "tokio/time", "dep:tower", "dep:hyper-timeout", ]