cachekit 0.7.0

High-performance cache primitives with pluggable eviction policies (LRU, LFU, FIFO, 2Q, Clock-PRO, S3-FIFO) and optional metrics.
Documentation
//! Convenience re-exports for the most common cachekit types.
//!
//! Import everything with:
//!
//! ```
//! use cachekit::prelude::*;
//! ```
//!
//! This gives you the main [`Cache`] trait, the optional capability traits,
//! and the [`CacheBuilder`] entry point. Concrete policy types are available
//! from their respective modules ([`policy`](crate::policy)).

pub use crate::builder::{CacheBuilder, CachePolicy, DynCache};
pub use crate::traits::{
    Cache, ConcurrentCache, EvictingCache, FrequencyTracking, HistoryTracking, RecencyTracking,
    VictimInspectable,
};

#[cfg(feature = "metrics")]
pub use crate::metrics::snapshot::CacheMetricsSnapshot;