diff --git a/src/transport/mod.rs b/src/transport/mod.rs index 69d4983..168222c 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -7,7 +7,7 @@ use std::{ fmt::{self, Debug, Display}, net::SocketAddr, }; -#[cfg(feature = "flume-transport")] +#[cfg(all(feature = "flume-transport", feature = "tokio-mpsc-transport"))] pub mod boxed; #[cfg(feature = "combined-transport")] pub mod combined;