Decision Workspace
raw-parts vs smallvec vs staticvec
Side-by-side comparison of Rust crates
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
48
staticvec
growingv0.11.9
Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.
Core Metrics
| raw-parts | smallvec | staticvec | |
|---|---|---|---|
| Health Score | 72 | 70 | 48 |
| Total Downloads | 83.7K | 730.7M | 237.7K |
| 30d Downloads | 663 | 49.2M | 1.0K |
| Dependents | 19 | 51.1K | 65 |
| Releases | 11 | 76 | 96 |
| Last Updated | 11d ago | 131d ago | 1274d ago |
| Age | 4y 4m | 10y 11m | 6y 8m |
Health Breakdown
raw-parts
Maintenance
16
Quality
20
Community
15
Popularity
6
Documentation
15
smallvec
Maintenance
14
Quality
17
Community
19
Popularity
8
Documentation
12
staticvec
Maintenance
7
Quality
11
Community
11
Popularity
6
Documentation
13
Technical Details
| raw-parts | smallvec | staticvec | |
|---|---|---|---|
| Version | 2.2.2 | 1.15.1 | 0.11.9 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 8 | 4 |
| Crate Size | 7KB | 38KB | 62KB |
| Features | 0 | 10 | 2 |
| Yanked % | 0.0% | 26.3% | 22.9% |
| Edition | 2021 | 2018 | 2021 |
| MSRV | 1.76.0 | — | — |
| Owners | 2 (team) | 3 (team) | 1 |
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.
- •⚠ staticvec has not been updated in over a year.
- •staticvec is pre-1.0 — API may change.