Decision Workspace
smallvec vs small_sorted_set vs smallvec-stableunion
Side-by-side comparison of Rust crates
73
smallvec
stablev1.16.2
'Small vector' optimization: store up to a small number of items on the stack
52
small_sorted_set
experimentalv1.0.1
A `SmallVec`-backed, sorted vec, with no duplicate elements
40
smallvec-stableunion
growingv0.6.10
Fork of the crate smallvec. Uses unions in stable rust. Please note that it can only store Copy types. No functional differences apart from that.
Core Metrics
| smallvec | small_sorted_set | smallvec-stableunion | |
|---|---|---|---|
| Health Score | 73 | 52 | 40 |
| Total Downloads | 1.3B | 28 | 3.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 78.3K | 0 | 1 |
| Releases | 83 | 2 | 1 |
| Last Updated | 7d ago | 37d ago | 2561d ago |
| Age | 11y 6m | 1m | 7y |
Health Breakdown
smallvec
Maintenance
20
Quality
17
Community
19
Popularity
8
Documentation
9
small_sorted_set
Maintenance
12
Quality
18
Community
5
Popularity
2
Documentation
15
smallvec-stableunion
Maintenance
1
Quality
18
Community
6
Popularity
4
Documentation
11
Technical Details
| smallvec | small_sorted_set | smallvec-stableunion | |
|---|---|---|---|
| Version | 1.16.2 | 1.0.1 | 0.6.10 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | GPL-3.0-or-later | MIT/Apache-2.0 |
| Dependencies | 6 | 2 | 2 |
| Crate Size | 35KB | 18KB | 21KB |
| Features | 9 | 1 | 5 |
| Yanked % | 24.1% | 0.0% | 0.0% |
| Edition | 2018 | 2024 | — |
| MSRV | — | 1.85 | — |
| Owners | 3 (team) | 1 | 1 |
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.
- •⚠ smallvec-stableunion has not been updated in over a year.
- •smallvec-stableunion is pre-1.0 — API may change.