Decision Workspace
bitfield-struct vs mycelium-bitfield vs packbits
Side-by-side comparison of Rust crates
62
bitfield-struct
growingv0.12.1
Struct-like procedural macro for bitfields.
48
mycelium-bitfield
growingv0.1.5
Structured bitfields, courtesy of Mycelium.
47
packbits
experimentalv0.1.1
Tiny, zero-boilerplate bit packing for your own structs: convert to/from fixed-size byte arrays and integer containers with one attribute.
Core Metrics
| bitfield-struct | mycelium-bitfield | packbits | |
|---|---|---|---|
| Health Score | 62 | 48 | 47 |
| Total Downloads | 10.7M | 216.9K | 875 |
| 30d Downloads | 1.7M | 21.7K | 61 |
| Dependents | 830 | 7 | 3 |
| Releases | 41 | 6 | 2 |
| Last Updated | 151d ago | 796d ago | 183d ago |
| Age | 4y 3m | 3y 8m | 6m |
Health Breakdown
bitfield-struct
Maintenance
12
Quality
13
Community
14
Popularity
8
Documentation
15
mycelium-bitfield
Maintenance
4
Quality
15
Community
8
Popularity
6
Documentation
15
packbits
Maintenance
9
Quality
11
Community
8
Popularity
4
Documentation
15
Technical Details
| bitfield-struct | mycelium-bitfield | packbits | |
|---|---|---|---|
| Version | 0.12.1 | 0.1.5 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | Apache-2.0 |
| Dependencies | 5 | 1 | 8 |
| Crate Size | 20KB | 29KB | 254KB |
| Features | 0 | 0 | 0 |
| Yanked % | 4.9% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.83.0 | 1.61.0 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •bitfield-struct leads with a health score of 62/100, but none of the options score above 80.
- •bitfield-struct is depended on by 830 crates — strongest ecosystem trust.
- •⚠ mycelium-bitfield has not been updated in over a year.