Decision Workspace
expire_map vs expiremap vs ttl_cache
Side-by-side comparison of Rust crates
47
expire_map
growingv0.0.34
expire map and retry map
48
expiremap
growingv0.1.0-beta.3
A simple Key-Value map where each value has a custom expiry time.
46
ttl_cache
growingv0.5.1
A cache that will expire values after a TTL
Core Metrics
| expire_map | expiremap | ttl_cache | |
|---|---|---|---|
| Health Score | 47 | 48 | 46 |
| Total Downloads | 33.8K | 3.6K | 5.8M |
| 30d Downloads | 33 | 70 | 318.6K |
| Dependents | 0 | 1 | 630 |
| Releases | 29 | 4 | 10 |
| Last Updated | 1341d ago | 315d ago | 2704d ago |
| Age | 3y 8m | 1y 5m | 9y 5m |
Health Breakdown
expire_map
Maintenance
13
Quality
16
Community
3
Popularity
5
Documentation
10
expiremap
Maintenance
12
Quality
16
Community
6
Popularity
4
Documentation
10
ttl_cache
Maintenance
4
Quality
12
Community
11
Popularity
8
Documentation
11
Technical Details
| expire_map | expiremap | ttl_cache | |
|---|---|---|---|
| Version | 0.0.34 | 0.1.0-beta.3 | 0.5.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | MIT OR Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 4 | 2 | 1 |
| Crate Size | 15KB | 6KB | 10KB |
| Features | 2 | 1 | 2 |
| Yanked % | 0.0% | 0.0% | 20.0% |
| Edition | 2021 | 2021 | — |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •expiremap leads with a health score of 48/100, but none of the options score above 80.
- •ttl_cache has the most downloads (5.8M), suggesting wider adoption.
- •ttl_cache is depended on by 630 crates — strongest ecosystem trust.
- •⚠ expire_map, ttl_cache have not been updated in over a year.