Decision Workspace
vec3 vs smallvec vs raw-parts
Side-by-side comparison of Rust crates
38
vec3
growingv0.2.1
vec3
73
smallvec
stablev1.16.2
'Small vector' optimization: store up to a small number of items on the stack
71
raw-parts
stablev2.2.4
Ergonomic wrapper around `Vec::from_raw_parts` and `Vec::into_raw_parts`.
Core Metrics
| vec3 | smallvec | raw-parts | |
|---|---|---|---|
| Health Score | 38 | 73 | 71 |
| Total Downloads | 69.8K | 1.3B | 111.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 39 | 78.3K | 19 |
| Releases | 9 | 83 | 13 |
| Last Updated | 2973d ago | 7d ago | 40d ago |
| Age | 9y 1m | 11y 6m | 4y 11m |
Health Breakdown
vec3
Maintenance
6
Quality
11
Community
7
Popularity
6
Documentation
8
smallvec
Maintenance
20
Quality
17
Community
19
Popularity
8
Documentation
9
raw-parts
Maintenance
15
Quality
20
Community
15
Popularity
6
Documentation
15
Technical Details
| vec3 | smallvec | raw-parts | |
|---|---|---|---|
| Version | 0.2.1 | 1.16.2 | 2.2.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 2 | 6 | 1 |
| Crate Size | 4KB | 35KB | 7KB |
| Features | 0 | 9 | 0 |
| Yanked % | 11.1% | 24.1% | 0.0% |
| Edition | — | 2018 | 2021 |
| MSRV | — | — | 1.76.0 |
| Owners | 1 | 3 (team) | 2 (team) |
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.
- •⚠ vec3 has not been updated in over a year.
- •vec3 is pre-1.0 — API may change.