oneshot 0.2.1

Oneshot spsc channel with (potentially) lock-free non-blocking send, and a receiver supporting both thread blocking receive operations as well as Future based async polling.
Documentation
1
2
3
4
#[cfg(not(oneshot_loom))]
pub use core::sync::atomic::{AtomicU8, Ordering, fence};
#[cfg(oneshot_loom)]
pub use loom::sync::atomic::{AtomicU8, Ordering, fence};