Decision Workspace
raw-parts vs smallvec vs stackvector
Side-by-side comparison of Rust crates
71
raw-parts
stablev2.2.4
Ergonomic wrapper around `Vec::from_raw_parts` and `Vec::into_raw_parts`.
73
smallvec
stablev1.16.2
'Small vector' optimization: store up to a small number of items on the stack
58
stackvector
growingv2.0.0
StackVec: vector-like facade for stack-allocated arrays.
Core Metrics
| raw-parts | smallvec | stackvector | |
|---|---|---|---|
| Health Score | 71 | 73 | 58 |
| Total Downloads | 111.4K | 1.3B | 431.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 19 | 78.3K | 18 |
| Releases | 13 | 83 | 14 |
| Last Updated | 40d ago | 7d ago | 100d ago |
| Age | 4y 11m | 11y 6m | 7y 10m |
Health Breakdown
raw-parts
Maintenance
15
Quality
20
Community
15
Popularity
6
Documentation
15
smallvec
Maintenance
20
Quality
17
Community
19
Popularity
8
Documentation
9
stackvector
Maintenance
11
Quality
17
Community
8
Popularity
7
Documentation
15
Technical Details
| raw-parts | smallvec | stackvector | |
|---|---|---|---|
| Version | 2.2.4 | 1.16.2 | 2.0.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 1 | 6 | 0 |
| Crate Size | 7KB | 35KB | 18KB |
| Features | 0 | 9 | 3 |
| Yanked % | 0.0% | 24.1% | 64.3% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | 1.76.0 | — | 1.60.0 |
| Owners | 2 (team) | 3 (team) | 1 |
Links
Quick Verdict
- •smallvec leads with a health score of 73/100, but none of the options score above 80.
- •smallvec is depended on by 78.3K crates — strongest ecosystem trust.