Decision Workspace
allocvec vs tinyvec vs smallvec
Side-by-side comparison of Rust crates
46
allocvec
growingv1.1.0
A vector type that preserves the index of every inserted element
76
tinyvec
stablev1.12.0
`tinyvec` provides 100% safe vec-like data structures.
74
smallvec
stablev1.15.2
'Small vector' optimization: store up to a small number of items on the stack
Core Metrics
| allocvec | tinyvec | smallvec | |
|---|---|---|---|
| Health Score | 46 | 76 | 74 |
| Total Downloads | 1.6K | 593.1M | 970.5M |
| 30d Downloads | 0 | 26.2M | 45.7M |
| Dependents | 0 | 3.2K | 63.8K |
| Releases | 4 | 39 | 77 |
| Last Updated | 241d ago | 3d ago | 32d ago |
| Age | 2y | 6y 6m | 11y 3m |
Health Breakdown
allocvec
Maintenance
7
Quality
19
Community
6
Popularity
4
Documentation
10
tinyvec
Maintenance
18
Quality
21
Community
20
Popularity
8
Documentation
9
smallvec
Maintenance
18
Quality
17
Community
19
Popularity
8
Documentation
12
Technical Details
| allocvec | tinyvec | smallvec | |
|---|---|---|---|
| Version | 1.1.0 | 1.12.0 | 1.15.2 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | Zlib OR Apache-2.0 OR MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 13 | 8 |
| Crate Size | 5KB | 57KB | 35KB |
| Features | 0 | 15 | 10 |
| Yanked % | 0.0% | 2.6% | 26.0% |
| Edition | 2024 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 2 (team) | 3 (team) |
Links
Quick Verdict
- •tinyvec leads with a health score of 76/100, but none of the options score above 80.
- •smallvec has the most downloads (970.5M), suggesting wider adoption.
- •smallvec is depended on by 63.8K crates — strongest ecosystem trust.