Decision Workspace
byterepr vs bytemuck vs bytemuck_derive
Side-by-side comparison of Rust crates
35
byterepr
growingv0.1.0
Provides a trait for converting PODs to and from their byte representation, with low (usually no) cost.
70
bytemuck
stablev1.25.2
A crate for mucking around with piles of bytes.
69
bytemuck_derive
stablev1.12.1
derive proc-macros for `bytemuck`
Core Metrics
| byterepr | bytemuck | bytemuck_derive | |
|---|---|---|---|
| Health Score | 35 | 70 | 69 |
| Total Downloads | 6.5K | 405.9M | 155.6M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 6 | 50.3K | 1.7K |
| Releases | 1 | 58 | 28 |
| Last Updated | 2368d ago | 82d ago | 28d ago |
| Age | 6y 5m | 7y | 6y 1m |
Health Breakdown
byterepr
Maintenance
1
Quality
15
Community
5
Popularity
5
Documentation
9
bytemuck
Maintenance
15
Quality
18
Community
20
Popularity
8
Documentation
9
bytemuck_derive
Maintenance
16
Quality
19
Community
15
Popularity
8
Documentation
11
Technical Details
| byterepr | bytemuck | bytemuck_derive | |
|---|---|---|---|
| Version | 0.1.0 | 1.25.2 | 1.12.1 |
| 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 | 27KB |
| Features | 0 | 25 | 0 |
| Yanked % | 0.0% | 32.8% | 3.6% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | 1.71 |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •bytemuck leads with a health score of 70/100, but none of the options score above 80.
- •bytemuck is depended on by 50.3K crates — strongest ecosystem trust.
- •⚠ byterepr has not been updated in over a year.
- •byterepr is pre-1.0 — API may change.