tonic 0.11.0

A gRPC over HTTP/2 implementation focused on high performance, interoperability, and flexibility.
Documentation
[[bench]]
harness = false
name = "decode"
[dependencies.async-stream]
optional = true
version = "0.3"

[dependencies.async-trait]
optional = true
version = "0.1.13"

[dependencies.axum]
default_features = false
optional = true
version = "0.6.9"

[dependencies.base64]
version = "0.21"

[dependencies.bytes]
version = "1.0"

[dependencies.flate2]
optional = true
version = "1.0"

[dependencies.h2]
optional = true
version = "0.3.24"

[dependencies.http]
version = "0.2"

[dependencies.http-body]
version = "0.4.4"

[dependencies.hyper]
features = ["full"]
optional = true
version = "0.14.26"

[dependencies.hyper-timeout]
optional = true
version = "0.4"

[dependencies.percent-encoding]
version = "2.1"

[dependencies.pin-project]
version = "1.0.11"

[dependencies.prost]
default-features = false
features = ["std"]
optional = true
version = "0.12"

[dependencies.rustls-native-certs]
optional = true
version = "0.7"

[dependencies.rustls-pemfile]
optional = true
version = "2.0"

[dependencies.rustls-pki-types]
optional = true
version = "1.0"

[dependencies.tokio]
version = "1.0.1"

[dependencies.tokio-rustls]
optional = true
version = "0.25"

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tower]
default-features = false
features = ["balance", "buffer", "discover", "limit", "load", "make", "timeout", "util"]
optional = true
version = "0.4.7"

[dependencies.tower-layer]
version = "0.3"

[dependencies.tower-service]
version = "0.3"

[dependencies.tracing]
version = "0.1"

[dependencies.webpki-roots]
optional = true
version = "0.26"

[dependencies.zstd]
optional = true
version = "0.12.3"
[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]
features = ["rt", "macros"]
version = "1.0"

[dev-dependencies.tower]
features = ["full"]
version = "0.4.7"

[features]
channel = []
codegen = ["dep:async-trait"]
default = ["transport", "codegen", "prost"]
gzip = ["dep:flate2"]
prost = ["dep:prost"]
tls = ["dep:rustls-pki-types", "dep:rustls-pemfile", "transport", "dep:tokio-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"]
zstd = ["dep:zstd"]

[package]
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
categories = ["web-programming", "network-programming", "asynchronous"]
description = "A gRPC over HTTP/2 implementation focused on high performance, interoperability, and flexibility.\n"
documentation = "https://docs.rs/tonic/0.11.0"
edition = "2021"
homepage = "https://github.com/hyperium/tonic"
keywords = ["rpc", "grpc", "async", "futures", "protobuf"]
license = "MIT"
name = "tonic"
readme = "README.md"
repository = "https://github.com/hyperium/tonic"
version = "0.11.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]