Decision Workspace
ubits vs campo vs bitflags
Side-by-side comparison of Rust crates
33
ubits
growingv0.3.1
Bit fields and masks.
39
campo
experimentalv0.1.0
Easily create and handle bit fields.
71
bitflags
stablev2.13.2
A macro to generate structures which behave like bitflags.
Core Metrics
| ubits | campo | bitflags | |
|---|---|---|---|
| Health Score | 33 | 39 | 71 |
| Total Downloads | 8.4K | 31 | 2.0B |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 77.5K |
| Releases | 5 | 1 | 64 |
| Last Updated | 1620d ago | 227d ago | 30d ago |
| Age | 4y 5m | 7m | 11y 9m |
Health Breakdown
ubits
Maintenance
4
Quality
11
Community
2
Popularity
5
Documentation
11
campo
Maintenance
4
Quality
15
Community
6
Popularity
2
Documentation
12
bitflags
Maintenance
16
Quality
16
Community
16
Popularity
8
Documentation
15
Technical Details
| ubits | campo | bitflags | |
|---|---|---|---|
| Version | 0.3.1 | 0.1.0 | 2.13.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | non-standard | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 3 | 11 |
| Crate Size | 7.0MB | 22KB | 52KB |
| Features | 0 | 1 | 3 |
| Yanked % | 0.0% | 0.0% | 10.9% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.76 | 1.56.0 |
| Owners | 1 | 1 | 2 |
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.
- •⚠ ubits has not been updated in over a year.
- •ubits, campo are pre-1.0 — API may change.