Decision Workspace
enum-map vs enum-map-derive vs linearize
Side-by-side comparison of Rust crates
71
enum-map
stablev3.1.0
A map with C-like enum keys represented internally as an array
65
enum-map-derive
stablev1.0.1
Macros 1.1 implementation of #[derive(Enum)]
63
linearize
growingv0.1.8
Types that are enumerable and an array-backed map
Core Metrics
| enum-map | enum-map-derive | linearize | |
|---|---|---|---|
| Health Score | 71 | 65 | 63 |
| Total Downloads | 53.9M | 53.8M | 98.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3.4K | 140 | 43 |
| Releases | 82 | 40 | 9 |
| Last Updated | 81d ago | 67d ago | 15d ago |
| Age | 9y 4m | 9y 4m | 1y 10m |
Health Breakdown
enum-map
Maintenance
15
Quality
18
Community
15
Popularity
8
Documentation
15
enum-map-derive
Maintenance
14
Quality
19
Community
12
Popularity
8
Documentation
12
linearize
Maintenance
18
Quality
17
Community
10
Popularity
6
Documentation
12
Technical Details
| enum-map | enum-map-derive | linearize | |
|---|---|---|---|
| Version | 3.1.0 | 1.0.1 | 0.1.8 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 8 | 3 | 12 |
| Crate Size | 25KB | 11KB | 25KB |
| Features | 5 | 0 | 13 |
| Yanked % | 9.8% | 2.5% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.95 | 1.95 | 1.85.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum-map leads with a health score of 71/100, but none of the options score above 80.
- •enum-map is depended on by 3.4K crates — strongest ecosystem trust.
- •linearize is pre-1.0 — API may change.