sine_cache 0.2.0

SineCache is a high-performance, in-memory caching library for Rust, designed to efficiently store and manage key-value pairs with support for various eviction policies.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! This module provides various eviction policies that can be used with a cache implementation.

//! An eviction policy defines the strategy for removing entries from a cache when it reaches its capacity.
//! Different eviction policies prioritize different criteria for eviction, such as least recently used (LRU) or first-in-first-out (FIFO) or Least Frequently Used(LFU).

pub mod fifo;  // FIFO eviction policy
pub mod common; // Common traits and structs used by eviction policies
pub mod lru;   // LRU eviction policy
pub mod lfu; //LFU Eviction policy
pub mod noevicton; //No eviction
mod tests;