* Initial compression support * Support configuring compression on `Server` * Minor clean up * Test that compression is actually happening * Clean up some todos * channels compressing requests * Move compression to be on the codecs * Test sending compressed request to server that doesn't support it * Clean up a bit * Compress server streams * Compress client streams * Bidirectional streaming compression * Handle receiving unsupported encoding * Clean up * Add note to future self * Support disabling compression for individual responses * Add docs * Add compression examples * Disable compression behind feature flag * Add some docs * Make flate2 optional dependency * Fix docs wording * Format * Reply with which encodings are supported * Convert tests to use mocked io * Fix lints * Use separate counters * Don't make a long stream * Address review feedback
33 lines
785 B
TOML
33 lines
785 B
TOML
[package]
|
|
name = "tonic-build"
|
|
version = "0.4.2"
|
|
authors = ["Lucio Franco <[email protected]>"]
|
|
edition = "2018"
|
|
license = "MIT"
|
|
documentation = "https://docs.rs/tonic-build/0.4.1/tonic_build/"
|
|
repository = "https://github.com/hyperium/tonic"
|
|
homepage = "https://github.com/hyperium/tonic"
|
|
description = """
|
|
Codegen module of `tonic` gRPC implementation.
|
|
"""
|
|
readme = "README.md"
|
|
categories = ["network-programming", "asynchronous"]
|
|
keywords = ["rpc", "grpc", "async", "codegen", "protobuf"]
|
|
|
|
|
|
[dependencies]
|
|
prost-build = { version = "0.7", optional = true }
|
|
syn = "1.0"
|
|
quote = "1.0"
|
|
proc-macro2 = "1.0"
|
|
|
|
[features]
|
|
default = ["transport", "rustfmt", "prost"]
|
|
rustfmt = []
|
|
transport = []
|
|
prost = ["prost-build"]
|
|
compression = []
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|