futures_channel/
lib.rs

1//! Asynchronous channels.
2//!
3//! This crate provides channels that can be used to communicate between
4//! asynchronous tasks.
5
6#![deny(missing_docs, missing_debug_implementations)]
7#![doc(html_root_url = "https://docs.rs/futures-channel/0.2.2")]
8#![no_std]
9
10#[cfg(feature = "std")]
11extern crate std;
12
13extern crate futures_core;
14
15macro_rules! if_std {
16    ($($i:item)*) => ($(
17        #[cfg(feature = "std")]
18        $i
19    )*)
20}
21
22if_std! {
23    mod lock;
24    pub mod mpsc;
25    pub mod oneshot;
26}