binary-layout
v4.0.2 GrowingThe 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.
Quick Verdict
- โNot updated for 1+ year
- โStable API (4.x for 4+ years)
- โTrusted by 129 crates
- โPermissive license (MIT OR Apache-2.0)
Security
Deep Insights
17.8K downloads in the last 30 days (594/day), up 6% from the previous period.
129 crates depend on binary-layout. Reasonable ecosystem adoption, though not yet a core dependency.
The API has been stable (1.x) for over 4 years with 20 releases. This level of maturity means you can depend on it without worrying about breaking changes.
At 41KB, binary-layout is lightweight. Small crate size correlates with focused, well-scoped functionality.
Notable dependents include ockam_transport_tcp, graphannis-core, pallas-hardano, transient-btree-index, dmx-rdm. When high-quality crates choose binary-layout, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on binary-layout
Version Adoption
Release Timeline
Feature Flags
default =["std"]