#[cfg(feature = "native-tls")] use memberlist_net::stream_layer::native_tls::NativeTls; #[cfg(feature = "tls")] use memberlist_net::stream_layer::tls::Tls; #[cfg(any( not(any(feature = "tls", feature = "native-tls")), all(feature = "tls", feature = "native-tls") ))] use memberlist_net::stream_layer::tcp::Tcp; #[path = "main/tests.rs"] #[macro_use] mod tests; #[path = "main/tokio.rs"] #[cfg(feature = "tokio")] mod tokio; #[path = "main/smol.rs"] #[cfg(feature = "smol")] mod smol; #[path = "main/async_std.rs"] #[cfg(feature = "async-std")] mod async_std;