Skip to content

Commit 6849880

Browse files
committed
chore(doc): Update feature flag document about transport and channel
1 parent 2e330dc commit 6849880

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tonic/src/lib.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@
1616
//!
1717
//! # Feature Flags
1818
//!
19-
//! - `transport`: Enables the fully featured, batteries included client and server
20-
//! implementation based on [`hyper`], [`tower`] and [`tokio`]. Enabled by default.
21-
//! - `channel`: Enables just the full featured channel/client portion of the `transport`
22-
//! feature.
19+
//! - `transport`: Enables just the full featured server portion of the `channel` feature.
20+
//! - `channel`: Enables the fully featured, batteries included client and server
21+
//! implementation based on [`hyper`], [`tower`] and [`tokio`]. Enabled by default.
2322
//! - `codegen`: Enables all the required exports and optional dependencies required
2423
//! for [`tonic-build`]. Enabled by default.
2524
//! - `tls`: Enables the `rustls` based TLS options for the `transport` feature. Not

0 commit comments

Comments
 (0)