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
62
linearize
growingv0.1.6
Types that are enumerable and an array-backed map
Core Metrics
| const_enum_map | enum-map | linearize | |
|---|---|---|---|
| Health Score | 36 | 63 | 62 |
| Total Downloads | 1.8K | 32.0M | 42.2K |
| 30d Downloads | 3 | 2.5M | 3.9K |
| Dependents | 0 | 2.4K | 33 |
| Releases | 1 | 80 | 7 |
| Last Updated | 2344d ago | 854d ago | 22d ago |
| Age | 6y 5m | 8y 10m | 1y 4m |
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
17
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.6 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 7 | 9 |
| Crate Size | 2KB | 22KB | 24KB |
| Features | 0 | 0 | 10 |
| Yanked % | 0.0% | 2.5% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.61 | 1.83.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.4K 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.