rust_p2p_core/async_compat/mpsc/
mod.rs

1
2
3
4
#[cfg(feature = "use-async-std")]
pub use async_std::channel::{bounded as channel, Receiver, Sender};
#[cfg(feature = "use-tokio")]
pub use tokio::sync::mpsc::{channel, Receiver, Sender};