Decision Workspace
enum-map vs linearize vs enum-map-derive
Side-by-side comparison of Rust crates
63
enum-map
growingv2.7.3
A map with C-like enum keys represented internally as an array
62
linearize
growingv0.1.6
Types that are enumerable and an array-backed map
52
enum-map-derive
growingv0.17.0
Macros 1.1 implementation of #[derive(Enum)]
Core Metrics
| enum-map | linearize | enum-map-derive | |
|---|---|---|---|
| Health Score | 63 | 62 | 52 |
| Total Downloads | 32.0M | 42.2K | 31.8M |
| 30d Downloads | 2.5M | 3.9K | 2.5M |
| Dependents | 2.4K | 33 | 138 |
| Releases | 80 | 7 | 38 |
| Last Updated | 854d ago | 22d ago | 854d ago |
| Age | 8y 10m | 1y 4m | 8y 10m |
Health Breakdown
enum-map
Maintenance
7
Quality
18
Community
15
Popularity
8
Documentation
15
linearize
Maintenance
17
Quality
17
Community
10
Popularity
6
Documentation
12
enum-map-derive
Maintenance
6
Quality
14
Community
12
Popularity
8
Documentation
12
Technical Details
| enum-map | linearize | enum-map-derive | |
|---|---|---|---|
| Version | 2.7.3 | 0.1.6 | 0.17.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 7 | 9 | 3 |
| Crate Size | 22KB | 24KB | 11KB |
| Features | 0 | 10 | 0 |
| Yanked % | 2.5% | 0.0% | 2.6% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.61 | 1.83.0 | 1.61 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •enum-map leads with a health score of 63/100, but none of the options score above 80.
- •enum-map is depended on by 2.4K crates — strongest ecosystem trust.
- •⚠ enum-map, enum-map-derive have not been updated in over a year.
- •linearize, enum-map-derive are pre-1.0 — API may change.