Decision Workspace
const_enum_map vs enum-map vs linearize
Side-by-side comparison of Rust crates
36
const_enum_map
growingv0.1.0
Get const value from enum handle
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
Core Metrics
| const_enum_map | enum-map | linearize | |
|---|---|---|---|
| Health Score | 36 | 63 | 61 |
| Total Downloads | 1.8K | 42.4M | 69.9K |
| 30d Downloads | 0 | 1.8M | 5.6K |
| Dependents | 0 | 2.7K | 39 |
| Releases | 1 | 80 | 8 |
| Last Updated | 2452d ago | 962d ago | 26d ago |
| Age | 6y 8m | 9y 2m | 1y 7m |
Health Breakdown
const_enum_map
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
9
enum-map
Maintenance
7
Quality
18
Community
15
Popularity
8
Documentation
15
linearize
Maintenance
16
Quality
17
Community
10
Popularity
6
Documentation
12
Technical Details
| const_enum_map | enum-map | linearize | |
|---|---|---|---|
| Version | 0.1.0 | 2.7.3 | 0.1.7 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 7 | 12 |
| Crate Size | 2KB | 22KB | 25KB |
| Features | 0 | 0 | 13 |
| Yanked % | 0.0% | 2.5% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.61 | 1.85.0 |
| 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.
- •⚠ const_enum_map, enum-map have not been updated in over a year.
- •const_enum_map, linearize are pre-1.0 — API may change.