tiny-cache 0.5.1

FIFO and per-user LRU caches with shared values
Documentation
1
2
3
4
5
6
7
8
9
10
//! Save costly results so your program can reuse them instead of doing the same work again.
//! Choose [`FifoCache`] for a fixed limit, or [`LRUCache`] when users should share their recent results.

pub mod fifo_cache;
pub mod lru_cache;

pub use crate::{
    fifo_cache::FifoCache,
    lru_cache::LRUCache,
};