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).
70
either
growingv1.15.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 | 70 |
| Total Downloads | 9.7K | 130.2K | 632.6M |
| 30d Downloads | 125 | 4.0K | 40.8M |
| Dependents | 3 | 17 | 22.6K |
| Releases | 5 | 13 | 32 |
| Last Updated | 903d ago | 441d ago | 387d ago |
| Age | 2y 7m | 4y 6m | 10y 6m |
Health Breakdown
const-lru
Maintenance
4
Quality
20
Community
8
Popularity
5
Documentation
10
caches
Maintenance
5
Quality
15
Community
9
Popularity
6
Documentation
12
either
Maintenance
7
Quality
22
Community
18
Popularity
8
Documentation
15
Technical Details
| const-lru | caches | either | |
|---|---|---|---|
| Version | 1.0.0 | 0.3.0 | 1.15.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 | 20KB |
| 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 leads with a health score of 70/100, but none of the options score above 80.
- •either is depended on by 22.6K crates — strongest ecosystem trust.
- •⚠ const-lru, caches, either have not been updated in over a year.
- •caches is pre-1.0 — API may change.