# 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.81" name = "poem-grpc" version = "0.5.2" authors = ["sunli "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "GRPC support for Poem." homepage = "https://github.com/poem-web/poem" documentation = "https://docs.rs/poem/" readme = "README.md" keywords = [ "http", "async", "grpc", ] categories = [ "network-programming", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/poem-web/poem" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [package.metadata.workspaces] independent = true [lib] name = "poem_grpc" path = "src/lib.rs" [dependencies.async-compression] version = "0.4.0" features = ["tokio"] optional = true [dependencies.async-stream] version = "0.3.3" [dependencies.base64] version = "0.22.0" [dependencies.bytes] version = "1.1.0" [dependencies.fastrand] version = "2.0.0" [dependencies.futures-util] version = "0.3.17" [dependencies.http] version = "1.0.0" [dependencies.http-body-util] version = "0.1.0" [dependencies.hyper] version = "1.0.0" features = [ "http1", "http2", ] [dependencies.hyper-util] version = "0.1.10" features = [ "client-legacy", "tokio", ] [dependencies.itoa] version = "1.0.2" [dependencies.percent-encoding] version = "2.1.0" [dependencies.poem] version = "3.1.0" default-features = true [dependencies.prost] version = "0.13.1" [dependencies.prost-types] version = "0.13.1" [dependencies.rustls] version = "0.22.0" [dependencies.serde] version = "1.0.130" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.68" optional = true [dependencies.sync_wrapper] version = "1.0.0" features = ["futures"] [dependencies.thiserror] version = "1.0.30" [dependencies.tokio] version = "1.39.1" features = [ "io-util", "rt", "sync", "net", ] [dependencies.tokio-rustls] version = "0.25.0" [dependencies.tokio-stream] version = "0.1.8" features = ["sync"] [dependencies.tower-service] version = "0.3.2" [dependencies.webpki-roots] version = "0.26" [build-dependencies.poem-grpc-build] version = "0.5.0" [features] brotli = ["async-compression/brotli"] default = [] deflate = ["async-compression/deflate"] example_generated = [] gzip = ["async-compression/gzip"] json-codec = [ "serde", "serde_json", ] zstd = ["async-compression/zstd"]