Decision Workspace
sorting-vec vs raw-parts vs smallvec
Side-by-side comparison of Rust crates
37
sorting-vec
growingv0.1.1
Sorts a vector using a btreemap
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
| sorting-vec | raw-parts | smallvec | |
|---|---|---|---|
| Health Score | 37 | 72 | 70 |
| Total Downloads | 2.8K | 83.7K | 730.7M |
| 30d Downloads | 4 | 654 | 47.5M |
| Dependents | 0 | 19 | 51.1K |
| Releases | 2 | 11 | 76 |
| Last Updated | 1826d ago | 11d ago | 131d ago |
| Age | 5y | 4y 4m | 10y 11m |
Health Breakdown
sorting-vec
Maintenance
3
Quality
16
Community
3
Popularity
4
Documentation
11
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
| sorting-vec | raw-parts | smallvec | |
|---|---|---|---|
| Version | 0.1.1 | 2.2.2 | 1.15.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 1 | 8 |
| Crate Size | 3KB | 7KB | 38KB |
| Features | 0 | 0 | 10 |
| Yanked % | 0.0% | 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.
- •⚠ sorting-vec has not been updated in over a year.
- •sorting-vec is pre-1.0 — API may change.