Decision Workspace
vec3 vs raw-parts vs smallvec
Side-by-side comparison of Rust crates
39
vec3
growingv0.2.1
vec3
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
| vec3 | raw-parts | smallvec | |
|---|---|---|---|
| Health Score | 39 | 72 | 70 |
| Total Downloads | 67.2K | 83.7K | 730.7M |
| 30d Downloads | 353 | 663 | 49.2M |
| Dependents | 39 | 19 | 51.1K |
| Releases | 9 | 11 | 76 |
| Last Updated | 2777d ago | 11d ago | 131d ago |
| Age | 8y 7m | 4y 4m | 10y 11m |
Health Breakdown
vec3
Maintenance
7
Quality
11
Community
7
Popularity
6
Documentation
8
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
| vec3 | raw-parts | smallvec | |
|---|---|---|---|
| Version | 0.2.1 | 2.2.2 | 1.15.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT/Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 1 | 8 |
| Crate Size | 4KB | 7KB | 38KB |
| Features | 0 | 0 | 10 |
| Yanked % | 11.1% | 0.0% | 26.3% |
| Edition | — | 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.
- •⚠ vec3 has not been updated in over a year.
- •vec3 is pre-1.0 — API may change.