Decision Workspace
offset-vec vs raw-parts vs smallvec
Side-by-side comparison of Rust crates
43
offset-vec
experimentalv0.3.6
Packer for Vec and String etc, for all methods index add a offset
72
raw-parts
stablev2.2.2
Ergonomic wrapper around `Vec::from_raw_parts` and `Vec::into_raw_parts`.
70
smallvec
stablev1.15.1
'Small vector' optimization: store up to a small number of items on the stack
Core Metrics
| offset-vec | raw-parts | smallvec | |
|---|---|---|---|
| Health Score | 43 | 72 | 70 |
| Total Downloads | 3.8K | 83.7K | 730.7M |
| 30d Downloads | 12 | 654 | 47.5M |
| Dependents | 0 | 19 | 51.1K |
| Releases | 11 | 11 | 76 |
| Last Updated | 217d ago | 11d ago | 131d ago |
| Age | 8m | 4y 4m | 10y 11m |
Health Breakdown
offset-vec
Maintenance
10
Quality
13
Community
6
Popularity
4
Documentation
10
raw-parts
Maintenance
16
Quality
20
Community
15
Popularity
6
Documentation
15
smallvec
Maintenance
14
Quality
17
Community
19
Popularity
8
Documentation
12
Technical Details
| offset-vec | raw-parts | smallvec | |
|---|---|---|---|
| Version | 0.3.6 | 2.2.2 | 1.15.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 5 | 1 | 8 |
| Crate Size | 12KB | 7KB | 38KB |
| Features | 7 | 0 | 10 |
| Yanked % | 9.1% | 0.0% | 26.3% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.76.0 | — |
| Owners | 1 | 2 (team) | 3 (team) |
Links
Quick Verdict
- •raw-parts leads with a health score of 72/100, but none of the options score above 80.
- •smallvec has the most downloads (730.7M), suggesting wider adoption.
- •smallvec is depended on by 51.1K crates — strongest ecosystem trust.
- •offset-vec is pre-1.0 — API may change.