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.
51
any_vec
growingv0.15.0
Type erased vector. Most operations can be done without type knowledge. Mostly zero overhead.
73
smallvec
stablev1.16.2
'Small vector' optimization: store up to a small number of items on the stack
Core Metrics
| stack-any | any_vec | smallvec | |
|---|---|---|---|
| Health Score | 43 | 51 | 73 |
| Total Downloads | 4.2K | 594.4K | 1.3B |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 61 | 78.3K |
| Releases | 3 | 18 | 83 |
| Last Updated | 832d ago | 410d ago | 7d ago |
| Age | 2y 3m | 4y 5m | 11y 6m |
Health Breakdown
stack-any
Maintenance
5
Quality
17
Community
7
Popularity
4
Documentation
10
any_vec
Maintenance
7
Quality
16
Community
11
Popularity
7
Documentation
10
smallvec
Maintenance
20
Quality
17
Community
19
Popularity
8
Documentation
9
Technical Details
| stack-any | any_vec | smallvec | |
|---|---|---|---|
| Version | 0.1.2 | 0.15.0 | 1.16.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 4 | 6 |
| Crate Size | 3KB | 46KB | 35KB |
| Features | 2 | 2 | 9 |
| Yanked % | 0.0% | 0.0% | 24.1% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 3 (team) |
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-any, any_vec have not been updated in over a year.
- •stack-any, any_vec are pre-1.0 — API may change.