Decision Workspace
copy-stack-vec vs smallvec vs arrayvec
Side-by-side comparison of Rust crates
50
copy-stack-vec
experimentalv0.1.0
A no_std, fixed-capacity, stack-allocated Copy vector for Copy types, with no unsafe code by default.
70
smallvec
stablev1.15.1
'Small vector' optimization: store up to a small number of items on the stack
64
arrayvec
growingv0.7.6
A vector with fixed capacity, backed by an array (it can be stored on the stack too). Implements fixed capacity ArrayVec and ArrayString.
Core Metrics
| copy-stack-vec | smallvec | arrayvec | |
|---|---|---|---|
| Health Score | 50 | 70 | 64 |
| Total Downloads | 100 | 730.7M | 362.1M |
| 30d Downloads | 4 | 47.5M | 22.3M |
| Dependents | 0 | 51.1K | 16.0K |
| Releases | 2 | 76 | 55 |
| Last Updated | 129d ago | 131d ago | 587d ago |
| Age | 4m | 10y 11m | 10y 10m |
Health Breakdown
copy-stack-vec
Maintenance
11
Quality
16
Community
6
Popularity
2
Documentation
15
smallvec
Maintenance
14
Quality
17
Community
19
Popularity
8
Documentation
12
arrayvec
Maintenance
6
Quality
16
Community
20
Popularity
8
Documentation
14
Technical Details
| copy-stack-vec | smallvec | arrayvec | |
|---|---|---|---|
| Version | 0.1.0 | 1.15.1 | 0.7.6 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 8 | 6 |
| Crate Size | 32KB | 38KB | 31KB |
| Features | 3 | 10 | 2 |
| Yanked % | 0.0% | 26.3% | 0.0% |
| Edition | 2024 | 2018 | 2018 |
| MSRV | 1.85 | — | 1.51 |
| Owners | 1 | 3 (team) | 2 (team) |
Links
Quick Verdict
- •smallvec leads with a health score of 70/100, but none of the options score above 80.
- •smallvec is depended on by 51.1K crates — strongest ecosystem trust.
- •⚠ arrayvec has not been updated in over a year.
- •copy-stack-vec, arrayvec are pre-1.0 — API may change.