Decision Workspace
smallvec-stableunion vs smallvec vs small_sorted_set
Side-by-side comparison of Rust crates
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.
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
Core Metrics
| smallvec-stableunion | smallvec | small_sorted_set | |
|---|---|---|---|
| Health Score | 40 | 73 | 52 |
| Total Downloads | 3.8K | 1.3B | 28 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 78.3K | 0 |
| Releases | 1 | 83 | 2 |
| Last Updated | 2561d ago | 7d ago | 37d ago |
| Age | 7y | 11y 6m | 1m |
Health Breakdown
smallvec-stableunion
Maintenance
1
Quality
18
Community
6
Popularity
4
Documentation
11
smallvec
Maintenance
20
Quality
17
Community
19
Popularity
8
Documentation
9
small_sorted_set
Maintenance
12
Quality
18
Community
5
Popularity
2
Documentation
15
Technical Details
| smallvec-stableunion | smallvec | small_sorted_set | |
|---|---|---|---|
| Version | 0.6.10 | 1.16.2 | 1.0.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | GPL-3.0-or-later |
| Dependencies | 2 | 6 | 2 |
| Crate Size | 21KB | 35KB | 18KB |
| Features | 5 | 9 | 1 |
| Yanked % | 0.0% | 24.1% | 0.0% |
| Edition | — | 2018 | 2024 |
| 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.