Decision Workspace
serde-binary vs binary-layout vs binary_serde_macros
Side-by-side comparison of Rust crates
42
serde-binary
growingv0.5.0
Serde data format for binary files
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.
60
binary_serde_macros
stablev1.0.25
simple binary serialization and deserialization
Core Metrics
| serde-binary | binary-layout | binary_serde_macros | |
|---|---|---|---|
| Health Score | 42 | 61 | 60 |
| Total Downloads | 60.1K | 523.0K | 76.7K |
| 30d Downloads | 7.7K | 17.0K | 5.6K |
| Dependents | 51 | 129 | 32 |
| Releases | 11 | 20 | 32 |
| Last Updated | 1180d ago | 713d ago | 99d ago |
| Age | 3y 12m | 4y 11m | 2y 9m |
Health Breakdown
serde-binary
Maintenance
4
Quality
14
Community
8
Popularity
6
Documentation
10
binary-layout
Maintenance
6
Quality
21
Community
12
Popularity
7
Documentation
15
binary_serde_macros
Maintenance
14
Quality
20
Community
10
Popularity
6
Documentation
10
Technical Details
| serde-binary | binary-layout | binary_serde_macros | |
|---|---|---|---|
| Version | 0.5.0 | 4.0.2 | 1.0.25 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 4 | 4 | 3 |
| Crate Size | 6KB | 42KB | 8KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| 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.
- •⚠ serde-binary, binary-layout have not been updated in over a year.
- •serde-binary is pre-1.0 — API may change.