Decision Workspace
const-lru vs caches vs either
Side-by-side comparison of Rust crates
47
const-lru
growingv1.0.0
A simple no_std, non-hashing, constant-capacity, constant-memory-usage LRU cache.
47
caches
growingv0.3.0
This is a Rust implementation for popular caches (support no_std).
81
either
stablev1.19.0
The enum `Either` with variants `Left` and `Right` is a general purpose sum type with two cases.
Core Metrics
| const-lru | caches | either | |
|---|---|---|---|
| Health Score | 47 | 47 | 81 |
| Total Downloads | 14.5K | 171.5K | 1.1B |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 30 | 27.5K |
| Releases | 5 | 13 | 36 |
| Last Updated | 1099d ago | 637d ago | 3d ago |
| Age | 3y 1m | 5y | 11y |
Health Breakdown
const-lru
Maintenance
4
Quality
20
Community
8
Popularity
5
Documentation
10
caches
Maintenance
4
Quality
15
Community
10
Popularity
6
Documentation
12
either
Maintenance
18
Quality
22
Community
18
Popularity
8
Documentation
15
Technical Details
| const-lru | caches | either | |
|---|---|---|---|
| Version | 1.0.0 | 0.3.0 | 1.19.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 13 | 2 |
| Crate Size | 18KB | 76KB | 23KB |
| Features | 0 | 3 | 3 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | — | — | 1.63.0 |
| Owners | 1 | 1 | 3 |
Links
Quick Verdict
- •either has the highest health score (81/100) — a strong overall choice.
- •either is depended on by 27.5K crates — strongest ecosystem trust.
- •⚠ const-lru, caches have not been updated in over a year.
- •caches is pre-1.0 — API may change.