tiny_cache/lib.rs
1//! Save costly results so your program can reuse them instead of doing the same work again.
2//! Choose [`FifoCache`] for a fixed limit, or [`LRUCache`] when users should share their recent results.
3
4pub mod fifo_cache;
5pub mod lru_cache;
6
7pub use crate::{
8 fifo_cache::FifoCache,
9 lru_cache::LRUCache,
10};