parcoll/spsc/mod.rs
1//! This module provides implementations of single-producer single-consumer queues.
2//!
3//! It contains two implementations:
4//!
5//! * [`const_bounded`]: A const bounded ring buffer.
6//! Use [`new_bounded`] or [`new_cache_padded_bounded`] or [`SPSCBoundedQueue`].
7//! * [`unbounded`]: An unbounded ring buffer.
8//! Use one of the [`new_unbounded`], [`new_cache_padded_unbounded`],
9//! [`new_unbounded_with_sync_cell`] and [`new_cache_padded_unbounded_with_sync_cell`].
10mod const_bounded;
11#[cfg(test)]
12mod tests;
13mod unbounded;
14
15pub use const_bounded::*;
16pub use unbounded::*;