cache2 0.1.0

Performance-first bounded RAM and NVMe hybrid cache
Documentation
//! Performance-first bounded RAM + Region SSD hybrid cache.
//!
//! Ordinary mutations are process-visible cache updates, not durable storage
//! writes. An unclean restart always opens empty without scanning the data
//! extent. Only [`Cache::close_warm`] publishes a recoverable image.

#[cfg(feature = "benchmarking")]
#[doc(hidden)]
pub mod benchmarking;
mod cache;
mod checksum;
mod eviction;
mod format;
#[cfg(feature = "fuzzing")]
#[doc(hidden)]
pub mod fuzzing;
mod hashing;
mod index;
mod index_storage;
mod io_backend;
mod io_engine;
mod memory;
mod record_codec;
mod recovery;
mod region;
mod region_appender;
mod region_index;
mod region_manager;
mod region_metadata;
mod region_reader;
mod region_runtime;
mod region_staging;
mod region_store;
mod resources;
mod runtime_config;
mod snapshot;

pub use cache::{Cache, CacheBuilder, CacheTier, Result, StaticConfig, Value};
pub use runtime_config::{IoEngine, IoMode, L1EvictionPolicy, RuntimeConfig};
pub use snapshot::{
    CacheHealth, CacheIndexSnapshot, CacheIoDirectionSnapshot, CacheIoPathSnapshot,
    CacheIoSnapshot, CacheL1Snapshot, CacheReclaimSnapshot, CacheSnapshot, DetailedCacheSnapshot,
    RegionSnapshot, StartupMode,
};