Decision Workspace
flaglet vs bitflag-attr vs bitflags
Side-by-side comparison of Rust crates
44
flaglet
experimentalv0.1.0
Bitflag API from a plain enum — no DSL, no wrapper type you don't own
51
bitflag-attr
growingv0.13.0
A macro to generate bitflags structures from C-like enums
74
bitflags
stablev2.13.0
A macro to generate structures which behave like bitflags.
Core Metrics
| flaglet | bitflag-attr | bitflags | |
|---|---|---|---|
| Health Score | 44 | 51 | 74 |
| Total Downloads | 4.6K | 19.9K | 1.5B |
| 30d Downloads | 821 | 0 | 73.7M |
| Dependents | 1 | 4 | 68.2K |
| Releases | 1 | 23 | 62 |
| Last Updated | 47d ago | 252d ago | 38d ago |
| Age | 1m | 2y 1m | 11y 6m |
Health Breakdown
flaglet
Maintenance
10
Quality
14
Community
4
Popularity
4
Documentation
12
bitflag-attr
Maintenance
10
Quality
16
Community
8
Popularity
5
Documentation
12
bitflags
Maintenance
16
Quality
16
Community
19
Popularity
8
Documentation
15
Technical Details
| flaglet | bitflag-attr | bitflags | |
|---|---|---|---|
| Version | 0.1.0 | 0.13.0 | 2.13.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | GPL-3.0-or-later OR BSD-2-Clause | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 8 | 11 |
| Crate Size | 22KB | 39KB | 51KB |
| Features | 0 | 8 | 3 |
| Yanked % | 0.0% | 0.0% | 11.3% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.85.1 | 1.81.0 | 1.56.0 |
| Owners | 1 | 1 | 2 (team) |
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.
- •flaglet, bitflag-attr are pre-1.0 — API may change.