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
62
orx-pinned-vec
stablev3.21.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 | 62 | 61 |
| Total Downloads | 6.3K | 1.1M | 523.0K |
| 30d Downloads | 71 | 146.3K | 16.5K |
| Dependents | 5 | 443 | 129 |
| Releases | 3 | 53 | 20 |
| Last Updated | 1493d ago | 158d ago | 713d ago |
| Age | 4y 1m | 2y 7m | 4y 11m |
Health Breakdown
varlen
Maintenance
4
Quality
17
Community
7
Popularity
5
Documentation
10
orx-pinned-vec
Maintenance
12
Quality
20
Community
13
Popularity
7
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 | 3.21.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 | 2 | 4 |
| Crate Size | 38KB | 25KB | 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 62/100, but none of the options score above 80.
- •orx-pinned-vec is depended on by 443 crates — strongest ecosystem trust.
- •⚠ varlen, binary-layout have not been updated in over a year.
- •varlen is pre-1.0 — API may change.