evicting_cache_map 0.6.0

An Evicting LRU cache supporting prune hooks
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#![cfg_attr(not(any(test, doc)), no_std)]

//! This crate offers an evicting cache map. The map has a fixed capacity and will prune the
//! oldest element to make room for a newer element. Optionally, a lambda can be provided which
//! will be called with the Key-Value pair upon pruning.

mod map;
/// An Ordered Map implementation
pub mod evicting_cache_map {
    pub use crate::map::*;
}
pub use map::EvictingCacheMap;