Decision Workspace
cachetypes vs cache-mod vs pi_cache
Side-by-side comparison of Rust crates
48
cachetypes
experimentalv0.0.2
Common cache implementations
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.
54
pi_cache
growingv0.5.1
Implementation of LFU-LRU cache
Core Metrics
| cachetypes | cache-mod | pi_cache | |
|---|---|---|---|
| Health Score | 48 | 61 | 54 |
| Total Downloads | 137 | 195 | 23.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 19 | 0 | 48 |
| Releases | 3 | 9 | 19 |
| Last Updated | 84d ago | 142d ago | 83d ago |
| Age | 2m | 4m | 4y 6m |
Health Breakdown
cachetypes
Maintenance
9
Quality
14
Community
10
Popularity
3
Documentation
12
cache-mod
Maintenance
18
Quality
19
Community
6
Popularity
3
Documentation
15
pi_cache
Maintenance
13
Quality
13
Community
13
Popularity
5
Documentation
10
Technical Details
| cachetypes | cache-mod | pi_cache | |
|---|---|---|---|
| Version | 0.0.2 | 1.0.0 | 0.5.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | Apache-2.0 OR MIT | MIT OR Apache-2.0 |
| Dependencies | 1 | 2 | 10 |
| Crate Size | 3KB | 91KB | 21KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.99 | 1.75 | — |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •cache-mod leads with a health score of 61/100, but none of the options score above 80.
- •pi_cache has the most downloads (23.9K), suggesting wider adoption.
- •cachetypes, pi_cache are pre-1.0 — API may change.