chore: Update docs to reflect changes to compression feature (#1046)
Co-authored-by: Lucio Franco <[email protected]>
This commit is contained in:
co-authored by
Lucio Franco
parent
ec359ba35f
commit
9be4e2479d
+3
-3
@@ -30,9 +30,9 @@
|
||||
//! - `tls-webpki-roots`: Add the standard trust roots from the `webpki-roots` crate to
|
||||
//! `rustls`-based gRPC clients. Not enabled by default.
|
||||
//! - `prost`: Enables the [`prost`] based gRPC [`Codec`] implementation.
|
||||
//! - `compression`: Enables compressing requests, responses, and streams. Note
|
||||
//! that you must enable the `compression` feature on both `tonic` and
|
||||
//! `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).
|
||||
//!
|
||||
//! # Structure
|
||||
//!
|
||||
|
||||
Reference in New Issue
Block a user