1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
#![doc(html_root_url = "https://docs.rs/tokio-channel/0.1.0")]
#![deny(missing_docs, warnings, missing_debug_implementations)]
#![cfg_attr(feature = "async-await-preview", feature(
        pin,
        ))]

//! Asynchronous channels.
//!
//! This crate provides channels that can be used to communicate between
//! asynchronous tasks.

extern crate futures;

pub mod mpsc;
pub mod oneshot;

mod lock;

// ===== EXPERIMENTAL async / await support =====

#[cfg(feature = "async-await-preview")]
mod async_await;