# 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" rust-version = "1.80.0" name = "volo-grpc" version = "0.10.4" authors = ["Volo Team "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "gRPC framework implementation of volo." homepage = "https://www.cloudwego.io/docs/volo/" documentation = "https://docs.rs/volo-grpc" readme = "README.md" keywords = [ "async", "rpc", "grpc", "protobuf", ] categories = [ "asynchronous", "network-programming", "web-programming", ] license = "MIT OR Apache-2.0" repository = "https://github.com/cloudwego/volo" [package.metadata.docs.rs] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "volo_grpc" path = "src/lib.rs" [dependencies.anyhow] version = "1" [dependencies.async-stream] version = "0.3" [dependencies.base64] version = "0.22" [dependencies.bytes] version = "1" [dependencies.flate2] version = "1" [dependencies.futures] version = "0.3" [dependencies.futures-util] version = "0.3" [dependencies.h2] version = "0.4" [dependencies.hex] version = "0.4" [dependencies.http] version = "1" [dependencies.http-body] version = "1" [dependencies.http-body-util] version = "0.1" [dependencies.hyper] version = "1" features = [ "client", "server", "http2", ] [dependencies.hyper-timeout] version = "0.5" [dependencies.hyper-util] version = "0.1" features = [ "tokio", "client", "client-legacy", "server", "http2", ] [dependencies.matchit] version = "0.8" [dependencies.metainfo] version = "0.7" [dependencies.motore] version = "0.4" features = ["tower"] [dependencies.percent-encoding] version = "2" [dependencies.pilota] version = "0.11" [dependencies.pin-project] version = "1" [dependencies.rustc-hash] version = "2" features = ["rand"] [dependencies.tokio] version = "1" features = [ "time", "rt", "net", "sync", "signal", ] [dependencies.tokio-native-tls] version = "0.3" optional = true [dependencies.tokio-rustls] version = "0.25" optional = true [dependencies.tokio-stream] version = "0.1" [dependencies.tokio-util] version = "0.7" features = [ "codec", "compat", ] [dependencies.tonic] version = "0.12" optional = true [dependencies.tonic-web] version = "0.12" optional = true [dependencies.tower] version = "0.5" features = [ "buffer", "limit", "make", "util", "discover", "balance", ] [dependencies.tracing] version = "0.1" [dependencies.volo] version = "0.10" [dev-dependencies.tracing-subscriber] version = "0.3" [features] __tls = [] default = [] grpc-web = [ "dep:tonic", "dep:tonic-web", ] native-tls = [ "__tls", "dep:tokio-native-tls", "volo/native-tls", ] native-tls-vendored = [ "native-tls", "volo/native-tls-vendored", ] rustls = [ "__tls", "dep:tokio-rustls", "volo/rustls", ] [badges.maintenance] status = "actively-developed"