We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec359ba commit 9be4e24Copy full SHA for 9be4e24
tonic/src/lib.rs
@@ -30,9 +30,9 @@
30
//! - `tls-webpki-roots`: Add the standard trust roots from the `webpki-roots` crate to
31
//! `rustls`-based gRPC clients. Not enabled by default.
32
//! - `prost`: Enables the [`prost`] based gRPC [`Codec`] implementation.
33
-//! - `compression`: Enables compressing requests, responses, and streams. Note
34
-//! that you must enable the `compression` feature on both `tonic` and
35
-//! `tonic-build` to use it. Depends on [flate2]. Not enabled by default.
+//! - `gzip`: Enables compressing requests, responses, and streams.
+//! Depends on [flate2]. Not enabled by default.
+//! Replaces the `compression` flag from earlier versions of `tonic` (<= 0.7).
36
//!
37
//! # Structure
38
0 commit comments