Decision Workspace
slice_struct_macro vs slice_struct vs rawbytes
Side-by-side comparison of Rust crates
44
slice_struct_macro
experimentalv0.4.1
Proc-macro implementation for slice_struct: packing multiple variable-length slices into a single heap allocation
41
slice_struct
experimentalv0.4.1
A macro for structs with multiple inline, variable-length slices packed into a single heap allocation
60
rawbytes
stablev1.0.2
View Rust values as byte slices without copying or allocation, with no_std support
Core Metrics
| slice_struct_macro | slice_struct | rawbytes | |
|---|---|---|---|
| Health Score | 44 | 41 | 60 |
| Total Downloads | 126 | 92 | 247.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 7 | 0 | 20 |
| Releases | 7 | 7 | 6 |
| Last Updated | 17d ago | 17d ago | 15d ago |
| Age | 27d | 27d | 6y 6m |
Health Breakdown
slice_struct_macro
Maintenance
13
Quality
10
Community
8
Popularity
3
Documentation
10
slice_struct
Maintenance
13
Quality
10
Community
6
Popularity
2
Documentation
10
rawbytes
Maintenance
15
Quality
21
Community
9
Popularity
6
Documentation
9
Technical Details
| slice_struct_macro | slice_struct | rawbytes | |
|---|---|---|---|
| Version | 0.4.1 | 0.4.1 | 1.0.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 3 | 5 | 0 |
| Crate Size | 11KB | 58KB | 2KB |
| Features | 1 | 2 | 0 |
| Yanked % | 28.6% | 28.6% | 0.0% |
| Edition | 2024 | 2024 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rawbytes leads with a health score of 60/100, but none of the options score above 80.
- •slice_struct_macro, slice_struct are pre-1.0 — API may change.