Decision Workspace
flagset vs EnumBitFlags vs bitflag-attr
Side-by-side comparison of Rust crates
62
flagset
growingv0.4.7
Data types and a macro for generating enumeration-based bit flags
52
EnumBitFlags
growingv1.0.10
EnumBitFlags is an implementation of flags support for enums
53
bitflag-attr
growingv0.13.0
A macro to generate bitflags structures from C-like enums
Core Metrics
| flagset | EnumBitFlags | bitflag-attr | |
|---|---|---|---|
| Health Score | 62 | 52 | 53 |
| Total Downloads | 24.8M | 15.7K | 19.6K |
| 30d Downloads | 2.5M | 177 | 67 |
| Dependents | 628 | 28 | 4 |
| Releases | 11 | 11 | 23 |
| Last Updated | 358d ago | 491d ago | 144d ago |
| Age | 7y | 3y 3m | 1y 10m |
Health Breakdown
flagset
Maintenance
7
Quality
16
Community
16
Popularity
8
Documentation
15
EnumBitFlags
Maintenance
7
Quality
21
Community
9
Popularity
5
Documentation
10
bitflag-attr
Maintenance
12
Quality
16
Community
8
Popularity
5
Documentation
12
Technical Details
| flagset | EnumBitFlags | bitflag-attr | |
|---|---|---|---|
| Version | 0.4.7 | 1.0.10 | 0.13.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 3 | 0 | 8 |
| Crate Size | 14KB | 11KB | 39KB |
| Features | 1 | 0 | 8 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.65 | — | 1.81.0 |
| Owners | 2 (team) | 1 | 1 |
Links
Quick Verdict
- •flagset leads with a health score of 62/100, but none of the options score above 80.
- •flagset is depended on by 628 crates — strongest ecosystem trust.
- •⚠ EnumBitFlags has not been updated in over a year.
- •flagset, bitflag-attr are pre-1.0 — API may change.