subms_block_cache/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 block cache
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 + memory cost + use cases.
7
8#[cfg(feature = "arc")]
9pub mod arc;
10
11#[cfg(feature = "tinylfu")]
12pub mod tinylfu;
13
14#[cfg(feature = "weighted")]
15pub mod weighted;
16
17#[cfg(feature = "concurrent-shards")]
18pub mod concurrent_shards;
19
20#[cfg(feature = "metrics")]
21pub mod metrics;