Decision Workspace
petra vs binrw vs bincode
Side-by-side comparison of Rust crates
46
petra
experimentalv0.2.0
Simple binary format with support for flexible containers
72
binrw
growingv0.15.1
A Rust crate for helping read structs from binary data using ✨macro magic✨
69
bincode
stablev3.0.0
A binary serialization / deserialization strategy for transforming structs into bytes and vice versa!
Core Metrics
| petra | binrw | bincode | |
|---|---|---|---|
| Health Score | 46 | 72 | 69 |
| Total Downloads | 5.2K | 7.2M | 213.8M |
| 30d Downloads | 58 | 660.7K | 14.2M |
| Dependents | 0 | 1.6K | 78.4K |
| Releases | 10 | 35 | 73 |
| Last Updated | 68d ago | 24d ago | 101d ago |
| Age | 12m | 5y 6m | 11y 4m |
Health Breakdown
petra
Maintenance
15
Quality
11
Community
5
Popularity
4
Documentation
11
binrw
Maintenance
17
Quality
15
Community
17
Popularity
8
Documentation
15
bincode
Maintenance
14
Quality
17
Community
15
Popularity
8
Documentation
15
Technical Details
| petra | binrw | bincode | |
|---|---|---|---|
| Version | 0.2.0 | 0.15.1 | 3.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | non-standard | MIT | MIT |
| Dependencies | 1 | 5 | 0 |
| Crate Size | 27KB | 94KB | 4KB |
| Features | 1 | 3 | 0 |
| Yanked % | 10.0% | 2.9% | 12.3% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.70 | 1.85.0 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •binrw leads with a health score of 72/100, but none of the options score above 80.
- •bincode has the most downloads (213.8M), suggesting wider adoption.
- •bincode is depended on by 78.4K crates — strongest ecosystem trust.
- •petra, binrw are pre-1.0 — API may change.