Decision Workspace
either vs arrayvec vs enum-map
Side-by-side comparison of Rust crates
81
either
stablev1.19.0
The enum `Either` with variants `Left` and `Right` is a general purpose sum type with two cases.
71
arrayvec
growingv0.7.8
A vector with fixed capacity, backed by an array (it can be stored on the stack too). Implements fixed capacity ArrayVec and ArrayString.
71
enum-map
stablev3.1.0
A map with C-like enum keys represented internally as an array
Core Metrics
| either | arrayvec | enum-map | |
|---|---|---|---|
| Health Score | 81 | 71 | 71 |
| Total Downloads | 1.1B | 607.8M | 53.9M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 27.5K | 19.5K | 3.4K |
| Releases | 36 | 57 | 82 |
| Last Updated | 3d ago | 99d ago | 81d ago |
| Age | 11y | 11y 4m | 9y 4m |
Health Breakdown
either
Maintenance
18
Quality
22
Community
18
Popularity
8
Documentation
15
arrayvec
Maintenance
13
Quality
16
Community
20
Popularity
8
Documentation
14
enum-map
Maintenance
15
Quality
18
Community
15
Popularity
8
Documentation
15
Technical Details
| either | arrayvec | enum-map | |
|---|---|---|---|
| Version | 1.19.0 | 0.7.8 | 3.1.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 | 6 | 8 |
| Crate Size | 23KB | 33KB | 25KB |
| Features | 3 | 2 | 5 |
| Yanked % | 0.0% | 0.0% | 9.8% |
| Edition | 2021 | 2018 | 2024 |
| MSRV | 1.63.0 | 1.51 | 1.95 |
| Owners | 3 | 2 (team) | 1 |
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.
- •arrayvec is pre-1.0 — API may change.