Decision Workspace
tlru_cache vs cache-mod vs axess-cache
Side-by-side comparison of Rust crates
37
tlru_cache
growingv0.1.4
Time-Aware LRU Cache
61
cache-mod
experimentalv1.0.0
High-performance in-process caching with multiple eviction policies (LRU, LFU, TinyLFU, TTL, size-bounded). Async-safe, lock-minimized internals. Typed key-value API. No dependency on any external store.
57
axess-cache
experimentalv0.8.0
DST-friendly local hot-path cache primitives for the axess auth library. All time-dependent decisions go through an injected `Clock` from the `axess-clock` crate, so TTL eviction is reproducible under MockClock. The flagship type, `ClockTtlCache`, is a TTL+LRU cache that replaces moka in any code path where DST or compliance forbids wall-clock internal timers.
Core Metrics
| tlru_cache | cache-mod | axess-cache | |
|---|---|---|---|
| Health Score | 37 | 61 | 57 |
| Total Downloads | 3.1K | 195 | 593 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 12 |
| Releases | 3 | 9 | 12 |
| Last Updated | 775d ago | 142d ago | 8d ago |
| Age | 2y 1m | 4m | 4m |
Health Breakdown
tlru_cache
Maintenance
5
Quality
15
Community
3
Popularity
4
Documentation
10
cache-mod
Maintenance
18
Quality
19
Community
6
Popularity
3
Documentation
15
axess-cache
Maintenance
18
Quality
12
Community
9
Popularity
3
Documentation
15
Technical Details
| tlru_cache | cache-mod | axess-cache | |
|---|---|---|---|
| Version | 0.1.4 | 1.0.0 | 0.8.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT/Apache-2.0 | Apache-2.0 OR MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 2 | 11 |
| Crate Size | 4KB | 91KB | 30KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | 1.75 | 1.94.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cache-mod leads with a health score of 61/100, but none of the options score above 80.
- •tlru_cache has the most downloads (3.1K), suggesting wider adoption.
- •⚠ tlru_cache has not been updated in over a year.
- •tlru_cache, axess-cache are pre-1.0 — API may change.