Decision Workspace
binary-layout vs serde-binary vs vizo
Side-by-side comparison of Rust crates
61
binary-layout
growingv4.0.2
The binary-layout library allows type-safe, inplace, zero-copy access to structured binary data. You define a custom data layout and give it a slice of binary data, and it will allow you to read and write the fields defined in the layout from the binary data without having to copy any of the data. It's similar to transmuting to/from a `#[repr(packed)]` struct, but much safer.
42
serde-binary
growingv0.5.0
Serde data format for binary files
40
vizo
growingv1.1.0
Visualize structured data formats in a more pretty way.
Core Metrics
| binary-layout | serde-binary | vizo | |
|---|---|---|---|
| Health Score | 61 | 42 | 40 |
| Total Downloads | 523.0K | 60.1K | 840 |
| 30d Downloads | 17.0K | 7.7K | 5 |
| Dependents | 129 | 51 | 0 |
| Releases | 20 | 11 | 2 |
| Last Updated | 713d ago | 1180d ago | 254d ago |
| Age | 4y 11m | 3y 12m | 8m |
Health Breakdown
binary-layout
Maintenance
6
Quality
21
Community
12
Popularity
7
Documentation
15
serde-binary
Maintenance
4
Quality
14
Community
8
Popularity
6
Documentation
10
vizo
Maintenance
8
Quality
16
Community
3
Popularity
3
Documentation
10
Technical Details
| binary-layout | serde-binary | vizo | |
|---|---|---|---|
| Version | 4.0.2 | 0.5.0 | 1.1.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT |
| Dependencies | 4 | 4 | 8 |
| Crate Size | 42KB | 6KB | 11KB |
| Features | 2 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.59 | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •binary-layout leads with a health score of 61/100, but none of the options score above 80.
- •binary-layout is depended on by 129 crates — strongest ecosystem trust.
- •⚠ binary-layout, serde-binary have not been updated in over a year.
- •serde-binary is pre-1.0 — API may change.