Decision Workspace
bitflags-serde-legacy vs bitflags vs bitmask-enum
Side-by-side comparison of Rust crates
47
bitflags-serde-legacy
growingv0.1.1
Implement serde traits for bitflags 2.x types compatibly with 1.x.
73
bitflags
stablev2.11.0
A macro to generate structures which behave like bitflags.
62
bitmask-enum
growingv2.2.5
A bitmask enum attribute macro
Core Metrics
| bitflags-serde-legacy | bitflags | bitmask-enum | |
|---|---|---|---|
| Health Score | 47 | 73 | 62 |
| Total Downloads | 297.7K | 1.1B | 3.2M |
| 30d Downloads | 21.1K | 76.7M | 204.7K |
| Dependents | 29 | 59.8K | 1.2K |
| Releases | 2 | 58 | 16 |
| Last Updated | 1045d ago | 42d ago | 521d ago |
| Age | 3y 1m | 11y 2m | 5y |
Health Breakdown
bitflags-serde-legacy
Maintenance
4
Quality
14
Community
9
Popularity
7
Documentation
13
bitflags
Maintenance
15
Quality
16
Community
19
Popularity
8
Documentation
15
bitmask-enum
Maintenance
8
Quality
20
Community
13
Popularity
8
Documentation
13
Technical Details
| bitflags-serde-legacy | bitflags | bitmask-enum | |
|---|---|---|---|
| Version | 0.1.1 | 2.11.0 | 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 | 5 | 11 | 2 |
| Crate Size | 7KB | 49KB | 12KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 10.3% | 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 59.8K crates — strongest ecosystem trust.
- •⚠ bitflags-serde-legacy, bitmask-enum have not been updated in over a year.
- •bitflags-serde-legacy is pre-1.0 — API may change.