Skip to content

Commit

Permalink
chore: Update docs to reflect changes to compression feature (#1046)
Browse files Browse the repository at this point in the history

Co-authored-by: Lucio Franco <[email protected]>
  • Loading branch information
Nick Ashley and LucioFranco authored Aug 2, 2022
1 parent ec359ba commit 9be4e24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tonic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
//!
Expand Down

0 comments on commit 9be4e24

Please sign in to comment.