Decision Workspace
stackvector vs smallvec vs stack-buf
Side-by-side comparison of Rust crates
58
stackvector
growingv2.0.0
StackVec: vector-like facade for stack-allocated arrays.
73
smallvec
stablev1.16.2
'Small vector' optimization: store up to a small number of items on the stack
57
stack-buf
growingv0.2.0
Vector-like facade for arrays allocated entirely on the stack.
Core Metrics
| stackvector | smallvec | stack-buf | |
|---|---|---|---|
| Health Score | 58 | 73 | 57 |
| Total Downloads | 431.1K | 1.3B | 1.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 18 | 78.3K | 90 |
| Releases | 14 | 83 | 8 |
| Last Updated | 100d ago | 7d ago | 72d ago |
| Age | 7y 10m | 11y 6m | 5y 6m |
Health Breakdown
stackvector
Maintenance
11
Quality
17
Community
8
Popularity
7
Documentation
15
smallvec
Maintenance
20
Quality
17
Community
19
Popularity
8
Documentation
9
stack-buf
Maintenance
12
Quality
13
Community
10
Popularity
7
Documentation
15
Technical Details
| stackvector | smallvec | stack-buf | |
|---|---|---|---|
| Version | 2.0.0 | 1.16.2 | 0.2.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 6 | 1 |
| Crate Size | 18KB | 35KB | 22KB |
| Features | 3 | 9 | 3 |
| Yanked % | 64.3% | 24.1% | 12.5% |
| Edition | 2021 | 2018 | 2024 |
| MSRV | 1.60.0 | — | 1.85 |
| Owners | 1 | 3 (team) | 1 |
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.
- •stack-buf is pre-1.0 — API may change.