Decision Workspace
byterepr vs bytemuck vs bytemuck_derive
Side-by-side comparison of Rust crates
34
byterepr
growingv0.1.0
Provides a trait for converting PODs to and from their byte representation, with low (usually no) cost.
72
bytemuck
stablev1.25.0
A crate for mucking around with piles of bytes.
63
bytemuck_derive
growingv1.10.2
derive proc-macros for `bytemuck`
Core Metrics
| byterepr | bytemuck | bytemuck_derive | |
|---|---|---|---|
| Health Score | 34 | 72 | 63 |
| Total Downloads | 5.3K | 214.8M | 77.7M |
| 30d Downloads | 73 | 17.1M | 7.4M |
| Dependents | 6 | 31.4K | 1.3K |
| Releases | 1 | 56 | 25 |
| Last Updated | 2172d ago | 55d ago | 175d ago |
| Age | 5y 11m | 6y 6m | 5y 7m |
Health Breakdown
byterepr
Maintenance
1
Quality
15
Community
5
Popularity
4
Documentation
9
bytemuck
Maintenance
17
Quality
18
Community
20
Popularity
8
Documentation
9
bytemuck_derive
Maintenance
10
Quality
19
Community
15
Popularity
8
Documentation
11
Technical Details
| byterepr | bytemuck | bytemuck_derive | |
|---|---|---|---|
| Version | 0.1.0 | 1.25.0 | 1.10.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | Zlib OR Apache-2.0 OR MIT | Zlib OR Apache-2.0 OR MIT |
| Dependencies | 1 | 2 | 3 |
| Crate Size | 3KB | 53KB | 26KB |
| Features | 0 | 25 | 0 |
| Yanked % | 0.0% | 33.9% | 4.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | 1.61 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •bytemuck leads with a health score of 72/100, but none of the options score above 80.
- •bytemuck is depended on by 31.4K crates — strongest ecosystem trust.
- •⚠ byterepr has not been updated in over a year.
- •byterepr is pre-1.0 — API may change.