tokio_channel/
lib.rs

1#![doc(html_root_url = "https://docs.rs/tokio-channel/0.1.0")]
2#![deny(missing_docs, warnings, missing_debug_implementations)]
3#![cfg_attr(feature = "async-await-preview", feature(
4        pin,
5        ))]
6
7//! Asynchronous channels.
8//!
9//! This crate provides channels that can be used to communicate between
10//! asynchronous tasks.
11
12extern crate futures;
13
14pub mod mpsc;
15pub mod oneshot;
16
17mod lock;
18
19// ===== EXPERIMENTAL async / await support =====
20
21#[cfg(feature = "async-await-preview")]
22mod async_await;