1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//! Transports for quic-rpc
//!
//! mem and combined are enabled by default. quic and http2 are enabled by feature flags.
pub mod combined;
#[cfg(feature = "http2")]
pub mod http2;
pub mod mem;
#[cfg(feature = "quic")]
pub mod quinn;

#[cfg(feature = "quic")]
/// Alias for quinn channel types
pub use self::quinn::ChannelTypes as QuinnChannelTypes;
/// Alias for combined channel types
pub use combined::ChannelTypes as CombinedChannelTypes;
#[cfg(feature = "http2")]
/// Alias for http2 channel types
pub use http2::ChannelTypes as Http2ChannelTypes;
/// Alias for mem channel types
pub use mem::ChannelTypes as MemChannelTypes;