pinned 0.1.0

Synchronisation primitives for !Send tasks.
Documentation
//! Task synchronisation primitives for pinned tasks.
//!
//! This crate provides the following task synchronisation mechanisms for `!Send` futures:
//!
//! - [`Barrier`]: Ensures multiple tasks to wait until all tasks have reached a point in the
//! program before continuing execution of all together.
//! - [`RwLock`]: Provides a mutual exclusion mechanism which allows multiple readers at the same
//! time, while allowing only one writer at a time.
//! - [`mpsc`]: A channel that supports sending multiple values from multiple producers to a single
//! receiver.
//! - [`oneshot`]: A channel to send one single value from a producer to a receiver.

#![deny(
    missing_docs,
    missing_debug_implementations,
    bare_trait_objects,
    anonymous_parameters,
    elided_lifetimes_in_paths
)]

mod barrier;
mod cell;
pub mod mpsc;
pub mod oneshot;
mod rwlock;
mod utils;

pub use barrier::*;
pub use rwlock::*;