smol/piper/src/lib.rs

17 lines
349 B
Rust
Raw Normal View History

2020-03-31 16:04:16 +00:00
//! Asynchronous pipes, channels, and mutexes.
2020-03-06 15:52:04 +00:00
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
2020-04-01 19:40:27 +00:00
mod arc;
mod lock;
2020-02-29 21:47:45 +00:00
mod chan;
mod mutex;
mod pipe;
2020-03-20 13:53:11 +00:00
mod signal;
2020-02-29 21:47:45 +00:00
2020-04-01 19:40:27 +00:00
pub use arc::Arc;
pub use lock::{Lock, LockGuard};
2020-02-29 21:47:45 +00:00
pub use chan::{chan, Receiver, Sender};
pub use mutex::{Mutex, MutexGuard};
pub use pipe::{pipe, Reader, Writer};