futures_channel/lib.rs
//! Asynchronous channels.
//!
//! This crate provides channels that can be used to communicate between
//! asynchronous tasks.
#![deny(missing_docs, missing_debug_implementations)]
#![doc(html_root_url = "https://docs.rs/futures-channel/0.2.2")]
#![no_std]
#[cfg(feature = "std")]
extern crate std;
extern crate futures_core;
macro_rules! if_std {
($($i:item)*) => ($(
#[cfg(feature = "std")]
$i
)*)
}
if_std! {
mod lock;
pub mod mpsc;
pub mod oneshot;
}