Skip to main content

subms_mpsc_queue/features/
mod.rs

1//! Opt-in feature catalog. Each submodule is gated by its own Cargo
2//! feature flag and adds a specific capability to the base MPSC queue
3//! without bloating the core build.
4//!
5//! See `Cargo.toml` `[features]` for the catalog + the README's
6//! "Features" section for per-feature p99 numbers and use cases.
7
8#[cfg(feature = "mpmc")]
9pub mod mpmc;
10
11#[cfg(feature = "bounded")]
12pub mod bounded;
13
14#[cfg(feature = "batch")]
15pub mod batch;
16
17#[cfg(feature = "metrics")]
18pub mod metrics;
19
20#[cfg(feature = "affinity")]
21pub mod affinity;