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
61
linearize
growingv0.1.7
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 | 61 | 52 |
| Total Downloads | 42.4M | 69.9K | 42.2M |
| 30d Downloads | 1.8M | 5.6K | 1.8M |
| Dependents | 2.7K | 39 | 138 |
| Releases | 80 | 8 | 38 |
| Last Updated | 962d ago | 26d ago | 962d ago |
| Age | 9y 2m | 1y 7m | 9y 2m |
Health Breakdown
enum-map
Maintenance
7
Quality
18
Community
15
Popularity
8
Documentation
15
linearize
Maintenance
16
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.7 | 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 | 12 | 3 |
| Crate Size | 22KB | 25KB | 11KB |
| Features | 0 | 13 | 0 |
| Yanked % | 2.5% | 0.0% | 2.6% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.61 | 1.85.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.7K 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.