rustio rustio.net
61

binary-layout

v4.0.2 Growing

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.

MIT OR Apache-2.0 Edition 2021 MSRV 1.59

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

Checking security advisories...
Downloads
523.0K
Dependents
129
Releases
20
Size
42KB

Deep Insights

๐Ÿ“Š
Steady growth

17.8K downloads in the last 30 days (594/day), up 6% from the previous period.

๐Ÿ”—
Moderate adoption

129 crates depend on binary-layout. Reasonable ecosystem adoption, though not yet a core dependency.

โœ…
Stable for 4+ years

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.

๐Ÿ“
Compact crate

At 41KB, binary-layout is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

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

Maintenance 6/25

Recency, release consistency, active ratio

Quality 21/25

Yanked ratio, deps, size, maturity, features

Community 12/20

Reverse deps, ownership, ecosystem

Popularity 7/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
571/day avg-2%
020040060080012/291/162/32/213/113/28

Top Dependents

Version Adoption

v4.0.2
62%
v3.3.0
14%
v3.2.0
12%
v2.1.0
7%
v3.1.3
5%

Release Timeline

20 releasessince 2021
J
F
M
A
M
J
J
A
S
O
N
D
2021
9
2022
5
2023
2
2024
4
2025
2026
Less
More

Feature Flags

default =["std"]

std*

README

Loading README...

Maintainers

Dependencies
4
direct dependencies
Dependents
129
crates depend on binary-layout

Similar Crates