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