Decision Workspace
bitflags-derive-macros vs bitflags vs bitmask-enum
Side-by-side comparison of Rust crates
50
bitflags-derive-macros
growingv0.0.5
bitflags-aware #[derive] macros.
71
bitflags
stablev2.13.2
A macro to generate structures which behave like bitflags.
60
bitmask-enum
growingv2.2.5
A bitmask enum attribute macro
Core Metrics
| bitflags-derive-macros | bitflags | bitmask-enum | |
|---|---|---|---|
| Health Score | 50 | 71 | 60 |
| Total Downloads | 8.3K | 2.0B | 5.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 5 | 77.5K | 2.0K |
| Releases | 5 | 64 | 16 |
| Last Updated | 67d ago | 30d ago | 717d ago |
| Age | 1y 8m | 11y 9m | 5y 7m |
Health Breakdown
bitflags-derive-macros
Maintenance
12
Quality
16
Community
7
Popularity
5
Documentation
10
bitflags
Maintenance
16
Quality
16
Community
16
Popularity
8
Documentation
15
bitmask-enum
Maintenance
5
Quality
20
Community
14
Popularity
8
Documentation
13
Technical Details
| bitflags-derive-macros | bitflags | bitmask-enum | |
|---|---|---|---|
| Version | 0.0.5 | 2.13.2 | 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 | 3KB | 52KB | 12KB |
| Features | 1 | 3 | 0 |
| Yanked % | 0.0% | 10.9% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.56.0 | — |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •bitflags leads with a health score of 71/100, but none of the options score above 80.
- •bitflags is depended on by 77.5K crates — strongest ecosystem trust.
- •⚠ bitmask-enum has not been updated in over a year.
- •bitflags-derive-macros is pre-1.0 — API may change.