Decision Workspace
bitflags-derive vs bitflags vs bitmask-enum
Side-by-side comparison of Rust crates
46
bitflags-derive
growingv0.0.4
bitflags-aware #[derive] macros.
73
bitflags
stablev2.11.1
A macro to generate structures which behave like bitflags.
62
bitmask-enum
growingv2.2.5
A bitmask enum attribute macro
Core Metrics
| bitflags-derive | bitflags | bitmask-enum | |
|---|---|---|---|
| Health Score | 46 | 73 | 62 |
| Total Downloads | 5.6K | 1.3B | 3.7M |
| 30d Downloads | 0 | 103.0M | 242.9K |
| Dependents | 35 | 64.0K | 1.6K |
| Releases | 4 | 59 | 16 |
| Last Updated | 454d ago | 41d ago | 580d ago |
| Age | 1y 3m | 11y 4m | 5y 2m |
Health Breakdown
bitflags-derive
Maintenance
7
Quality
16
Community
9
Popularity
4
Documentation
10
bitflags
Maintenance
15
Quality
16
Community
19
Popularity
8
Documentation
15
bitmask-enum
Maintenance
7
Quality
20
Community
14
Popularity
8
Documentation
13
Technical Details
| bitflags-derive | bitflags | bitmask-enum | |
|---|---|---|---|
| Version | 0.0.4 | 2.11.1 | 2.2.5 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 11 | 2 |
| Crate Size | 8KB | 49KB | 12KB |
| Features | 1 | 3 | 0 |
| Yanked % | 0.0% | 10.2% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.56.0 | — |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •bitflags leads with a health score of 73/100, but none of the options score above 80.
- •bitflags is depended on by 64.0K crates — strongest ecosystem trust.
- •⚠ bitflags-derive, bitmask-enum have not been updated in over a year.
- •bitflags-derive is pre-1.0 — API may change.