cachekit 0.2.0-alpha

High-performance cache primitives with pluggable eviction policies (LRU, LFU, FIFO, 2Q, Clock-PRO, S3-FIFO) and optional metrics.
Documentation
1
2
3
4
5
6
7
8
9
pub use crate::ds::{
    ClockRing, ConcurrentClockRing, ConcurrentIntrusiveList, ConcurrentSlotArena, FixedHistory,
    FrequencyBucketEntryMeta, FrequencyBuckets, FrequencyBucketsHandle, GhostList, IntrusiveList,
    KeyInterner, LazyMinHeap, ShardSelector, ShardedFrequencyBucketEntryMeta,
    ShardedFrequencyBuckets, ShardedSlotArena, ShardedSlotId, SlotArena, SlotId,
};
#[cfg(feature = "metrics")]
pub use crate::metrics::snapshot::CacheMetricsSnapshot;
pub use crate::policy::fifo::FifoCache;