Decision Workspace
bitenum vs bit-flags vs enum-map
Side-by-side comparison of Rust crates
37
bitenum
growingv0.2.2
binary enums with bitflags support
44
bit-flags
experimentalv0.1.2
provides an easy-to-use Flags trait that makes custom bitflag enums easier to implement in Rust
63
enum-map
growingv2.7.3
A map with C-like enum keys represented internally as an array
Core Metrics
| bitenum | bit-flags | enum-map | |
|---|---|---|---|
| Health Score | 37 | 44 | 63 |
| Total Downloads | 5.4K | 1.3K | 32.0M |
| 30d Downloads | 5 | 6 | 2.4M |
| Dependents | 0 | 0 | 2.4K |
| Releases | 4 | 3 | 80 |
| Last Updated | 802d ago | 277d ago | 854d ago |
| Age | 2y 2m | 9m | 8y 10m |
Health Breakdown
bitenum
Maintenance
10
Quality
10
Community
3
Popularity
4
Documentation
10
bit-flags
Maintenance
9
Quality
15
Community
3
Popularity
4
Documentation
13
enum-map
Maintenance
7
Quality
18
Community
15
Popularity
8
Documentation
15
Technical Details
| bitenum | bit-flags | enum-map | |
|---|---|---|---|
| Version | 0.2.2 | 0.1.2 | 2.7.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 0 | 7 |
| Crate Size | 1KB | 3KB | 22KB |
| Features | 0 | 0 | 0 |
| Yanked % | 25.0% | 0.0% | 2.5% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | — | 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.
- •⚠ bitenum, enum-map have not been updated in over a year.
- •bitenum, bit-flags are pre-1.0 — API may change.