A high performance thread-safe memory-bound Rust cache.
# Cargo.toml
[dependencies]
stretto = "0.9.0"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a cache with max capacity 1000 entries and 1MB cost, inserts a key-value pair, and retrieves it.
Run the cache's background task with `cache.run_pending_work()` or spawn it in a tokio task.
No dependency data recorded yet.