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