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.
75
bytemuck
stablev1.25.1
A crate for mucking around with piles of bytes.
71
bytemuck_derive
stablev1.11.0
derive proc-macros for `bytemuck`
Core Metrics
| byterepr | bytemuck | bytemuck_derive | |
|---|---|---|---|
| Health Score | 34 | 75 | 71 |
| Total Downloads | 5.6K | 296.9M | 110.7M |
| 30d Downloads | 0 | 16.9M | 6.5M |
| Dependents | 6 | 39.9K | 1.6K |
| Releases | 1 | 57 | 26 |
| Last Updated | 2280d ago | 3d ago | 3d ago |
| Age | 6y 3m | 6y 9m | 5y 10m |
Health Breakdown
byterepr
Maintenance
1
Quality
15
Community
5
Popularity
4
Documentation
9
bytemuck
Maintenance
20
Quality
18
Community
20
Popularity
8
Documentation
9
bytemuck_derive
Maintenance
18
Quality
19
Community
15
Popularity
8
Documentation
11
Technical Details
| byterepr | bytemuck | bytemuck_derive | |
|---|---|---|---|
| Version | 0.1.0 | 1.25.1 | 1.11.0 |
| 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 | 54KB | 26KB |
| Features | 0 | 25 | 0 |
| Yanked % | 0.0% | 33.3% | 3.9% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | 1.68 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •bytemuck leads with a health score of 75/100, but none of the options score above 80.
- •bytemuck is depended on by 39.9K crates — strongest ecosystem trust.
- •⚠ byterepr has not been updated in over a year.
- •byterepr is pre-1.0 — API may change.