Decision Workspace
varlen vs orx-pinned-vec vs binary-layout
Side-by-side comparison of Rust crates
43
varlen
growingv0.1.2
Ergonomic variable-length types
68
orx-pinned-vec
stablev4.1.0
`PinnedVec` trait defines the interface for vectors which guarantee that elements added to the vector are pinned to their memory locations unless explicitly changed.
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.
Core Metrics
| varlen | orx-pinned-vec | binary-layout | |
|---|---|---|---|
| Health Score | 43 | 68 | 61 |
| Total Downloads | 6.8K | 4.0M | 691.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 5 | 471 | 143 |
| Releases | 3 | 56 | 20 |
| Last Updated | 1690d ago | 28d ago | 909d ago |
| Age | 4y 7m | 3y 1m | 5y 5m |
Health Breakdown
varlen
Maintenance
4
Quality
17
Community
7
Popularity
5
Documentation
10
orx-pinned-vec
Maintenance
17
Quality
20
Community
13
Popularity
8
Documentation
10
binary-layout
Maintenance
6
Quality
21
Community
12
Popularity
7
Documentation
15
Technical Details
| varlen | orx-pinned-vec | binary-layout | |
|---|---|---|---|
| Version | 0.1.2 | 4.1.0 | 4.0.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | BSD-3-Clause | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 3 | 4 |
| Crate Size | 38KB | 28KB | 42KB |
| Features | 2 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | — | 1.59 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •orx-pinned-vec leads with a health score of 68/100, but none of the options score above 80.
- •orx-pinned-vec is depended on by 471 crates — strongest ecosystem trust.
- •⚠ varlen, binary-layout have not been updated in over a year.
- •varlen is pre-1.0 — API may change.