Decision Workspace
stack-any vs any_vec vs smallvec
Side-by-side comparison of Rust crates
43
stack-any
growingv0.1.2
A library that provides a type that owns same size type on the stack for type erasure.
53
any_vec
growingv0.15.0
Type erased vector. Most operations can be done without type knowledge. Mostly zero overhead.
70
smallvec
stablev1.15.1
'Small vector' optimization: store up to a small number of items on the stack
Core Metrics
| stack-any | any_vec | smallvec | |
|---|---|---|---|
| Health Score | 43 | 53 | 70 |
| Total Downloads | 4.2K | 363.2K | 730.7M |
| 30d Downloads | 37 | 23.5K | 47.5M |
| Dependents | 1 | 57 | 51.1K |
| Releases | 3 | 18 | 76 |
| Last Updated | 636d ago | 214d ago | 131d ago |
| Age | 1y 9m | 3y 10m | 10y 11m |
Health Breakdown
stack-any
Maintenance
5
Quality
17
Community
7
Popularity
4
Documentation
10
any_vec
Maintenance
9
Quality
16
Community
11
Popularity
7
Documentation
10
smallvec
Maintenance
14
Quality
17
Community
19
Popularity
8
Documentation
12
Technical Details
| stack-any | any_vec | smallvec | |
|---|---|---|---|
| Version | 0.1.2 | 0.15.0 | 1.15.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 4 | 8 |
| Crate Size | 3KB | 46KB | 38KB |
| Features | 2 | 2 | 10 |
| Yanked % | 0.0% | 0.0% | 26.3% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 3 (team) |
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-any has not been updated in over a year.
- •stack-any, any_vec are pre-1.0 — API may change.