Decision Workspace
stack-trait vs smallvec vs fastvec
Side-by-side comparison of Rust crates
46
stack-trait
growingv0.3.0
Stack trait with entry API for the LIFO element.
70
smallvec
stablev1.15.1
'Small vector' optimization: store up to a small number of items on the stack
50
fastvec
experimentalv1.1.0
A high-performance vector crate tuned for small data sizes.
Core Metrics
| stack-trait | smallvec | fastvec | |
|---|---|---|---|
| Health Score | 46 | 70 | 50 |
| Total Downloads | 4.4K | 730.7M | 171 |
| 30d Downloads | 24 | 49.2M | 9 |
| Dependents | 7 | 51.1K | 0 |
| Releases | 3 | 76 | 9 |
| Last Updated | 890d ago | 131d ago | 48d ago |
| Age | 2y 5m | 10y 11m | 3m |
Health Breakdown
stack-trait
Maintenance
5
Quality
16
Community
8
Popularity
4
Documentation
13
smallvec
Maintenance
14
Quality
17
Community
19
Popularity
8
Documentation
12
fastvec
Maintenance
16
Quality
13
Community
3
Popularity
3
Documentation
15
Technical Details
| stack-trait | smallvec | fastvec | |
|---|---|---|---|
| Version | 0.3.0 | 1.15.1 | 1.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 8 | 1 |
| Crate Size | 4KB | 38KB | 53KB |
| Features | 0 | 10 | 3 |
| Yanked % | 0.0% | 26.3% | 44.4% |
| Edition | 2021 | 2018 | 2024 |
| MSRV | — | — | 1.88.0 |
| 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-trait has not been updated in over a year.
- •stack-trait is pre-1.0 — API may change.