File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ tls-roots-common = ["tls"]
3333tls-webpki-roots = [" tls-roots-common" , " webpki-roots" ]
3434transport = [
3535 " axum" ,
36+ " channel"
37+ ]
38+ channel = [
3639 " h2" ,
3740 " hyper" ,
3841 " tokio" ,
Original file line number Diff line number Diff line change 1717//! # Feature Flags
1818//!
1919//! - `transport`: Enables the fully featured, batteries included client and server
20- //! implementation based on [`hyper`], [`tower`] and [`tokio`]. Enabled by default.
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.
2123//! - `codegen`: Enables all the required exports and optional dependencies required
2224//! for [`tonic-build`]. Enabled by default.
2325//! - `tls`: Enables the `rustls` based TLS options for the `transport` feature. Not
Original file line number Diff line number Diff line change @@ -94,6 +94,8 @@ mod service;
9494mod tls;
9595
9696#[ doc( inline) ]
97+ #[ cfg( feature = "channel" ) ]
98+ #[ cfg_attr( docsrs, doc( cfg( feature = "channel" ) ) ) ]
9799pub use self :: channel:: { Channel , Endpoint } ;
98100pub use self :: error:: Error ;
99101#[ doc( inline) ]
You can’t perform that action at this time.
0 commit comments