smol/piper/src/lib.rs

17 lines
376 B
Rust

//! Asynchronous pipes, channels, mutexes, and other primitives.
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
mod chan;
mod lock;
mod mutex;
mod pipe;
mod shared;
mod signal;
pub use chan::{chan, Receiver, Sender};
pub use lock::{Lock, LockGuard};
pub use mutex::{Mutex, MutexGuard};
pub use pipe::{pipe, Reader, Writer};
pub use shared::Shared;