Decision Workspace
associative-cache vs cached vs lru
Side-by-side comparison of Rust crates
63
associative-cache
growingv3.0.1
A generic N-way associative cache with fixed-size capacity and random or least recently used (LRU) replacement.
73
cached
stablev2.0.2
Generic cache implementations and simplified function memoization
69
lru
growingv0.18.1
A LRU cache implementation
Core Metrics
| associative-cache | cached | lru | |
|---|---|---|---|
| Health Score | 63 | 73 | 69 |
| Total Downloads | 2.2M | 38.6M | 278.4M |
| 30d Downloads | 117.5K | 1.1M | 15.7M |
| Dependents | 22 | 4.0K | 22.1K |
| Releases | 5 | 104 | 72 |
| Last Updated | 84d ago | 1d ago | 4d ago |
| Age | 6y 10m | 9y 3m | 9y 6m |
Health Breakdown
associative-cache
Maintenance
11
Quality
20
Community
10
Popularity
8
Documentation
14
cached
Maintenance
19
Quality
16
Community
15
Popularity
8
Documentation
15
lru
Maintenance
20
Quality
14
Community
14
Popularity
8
Documentation
13
Technical Details
| associative-cache | cached | lru | |
|---|---|---|---|
| Version | 3.0.1 | 2.0.2 | 0.18.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 1 | 23 | 3 |
| Crate Size | 21KB | 317KB | 19KB |
| Features | 0 | 15 | 2 |
| Yanked % | 0.0% | 1.0% | 8.3% |
| Edition | 2018 | 2024 | — |
| MSRV | 1.65 | 1.85 | 1.85.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •cached leads with a health score of 73/100, but none of the options score above 80.
- •lru has the most downloads (278.4M), suggesting wider adoption.
- •lru is depended on by 22.1K crates — strongest ecosystem trust.
- •lru is pre-1.0 — API may change.