Decision Workspace
rust-dense-bitset vs bitflags vs bitmask-enum
Side-by-side comparison of Rust crates
43
rust-dense-bitset
growingv0.1.1
Efficient and compact bitsets for Rust.
74
bitflags
stablev2.13.0
A macro to generate structures which behave like bitflags.
60
bitmask-enum
growingv2.2.5
A bitmask enum attribute macro
Core Metrics
| rust-dense-bitset | bitflags | bitmask-enum | |
|---|---|---|---|
| Health Score | 43 | 74 | 60 |
| Total Downloads | 16.2K | 1.5B | 4.2M |
| 30d Downloads | 0 | 73.7M | 196.7K |
| Dependents | 3 | 68.2K | 1.8K |
| Releases | 2 | 62 | 16 |
| Last Updated | 2735d ago | 38d ago | 629d ago |
| Age | 7y 6m | 11y 6m | 5y 4m |
Health Breakdown
rust-dense-bitset
Maintenance
3
Quality
15
Community
8
Popularity
5
Documentation
12
bitflags
Maintenance
16
Quality
16
Community
19
Popularity
8
Documentation
15
bitmask-enum
Maintenance
5
Quality
20
Community
14
Popularity
8
Documentation
13
Technical Details
| rust-dense-bitset | bitflags | bitmask-enum | |
|---|---|---|---|
| Version | 0.1.1 | 2.13.0 | 2.2.5 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 11 | 2 |
| Crate Size | 14KB | 51KB | 12KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 11.3% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.56.0 | — |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •bitflags leads with a health score of 74/100, but none of the options score above 80.
- •bitflags is depended on by 68.2K crates — strongest ecosystem trust.
- •⚠ rust-dense-bitset, bitmask-enum have not been updated in over a year.
- •rust-dense-bitset is pre-1.0 — API may change.