mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
23 lines
510 B
Rust
23 lines
510 B
Rust
#![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;
|