Decision Workspace
stack-buf vs smallvec vs staticvec
Side-by-side comparison of Rust crates
47
stack-buf
growingv0.1.6
Vector-like facade for arrays allocated entirely on the stack.
70
smallvec
stablev1.15.1
'Small vector' optimization: store up to a small number of items on the stack
48
staticvec
growingv0.11.9
Implements a fixed-capacity stack-allocated Vec alternative backed by an array, using const generics.
Core Metrics
| stack-buf | smallvec | staticvec | |
|---|---|---|---|
| Health Score | 47 | 70 | 48 |
| Total Downloads | 488.1K | 730.7M | 237.7K |
| 30d Downloads | 198.7K | 49.2M | 1.0K |
| Dependents | 82 | 51.1K | 65 |
| Releases | 7 | 76 | 96 |
| Last Updated | 1791d ago | 131d ago | 1274d ago |
| Age | 4y 11m | 10y 11m | 6y 8m |
Health Breakdown
stack-buf
Maintenance
5
Quality
13
Community
10
Popularity
7
Documentation
12
smallvec
Maintenance
14
Quality
17
Community
19
Popularity
8
Documentation
12
staticvec
Maintenance
7
Quality
11
Community
11
Popularity
6
Documentation
13
Technical Details
| stack-buf | smallvec | staticvec | |
|---|---|---|---|
| Version | 0.1.6 | 1.15.1 | 0.11.9 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 8 | 4 |
| Crate Size | 20KB | 38KB | 62KB |
| Features | 3 | 10 | 2 |
| Yanked % | 14.3% | 26.3% | 22.9% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 3 (team) | 1 |
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.
- •⚠ stack-buf, staticvec have not been updated in over a year.
- •stack-buf, staticvec are pre-1.0 — API may change.