Decision Workspace
exemplars vs either vs smallvec
Side-by-side comparison of Rust crates
47
exemplars
growingv0.0.3
Trait for providing examples of a type
79
either
stablev1.16.0
The enum `Either` with variants `Left` and `Right` is a general purpose sum type with two cases.
76
smallvec
stablev1.15.2
'Small vector' optimization: store up to a small number of items on the stack
Core Metrics
| exemplars | either | smallvec | |
|---|---|---|---|
| Health Score | 47 | 79 | 76 |
| Total Downloads | 3.1K | 777.7M | 898.7M |
| 30d Downloads | 0 | 60.8M | 68.2M |
| Dependents | 0 | 24.4K | 60.5K |
| Releases | 4 | 33 | 77 |
| Last Updated | 519d ago | 26d ago | 4d ago |
| Age | 1y 5m | 10y 9m | 11y 2m |
Health Breakdown
exemplars
Maintenance
11
Quality
17
Community
5
Popularity
4
Documentation
10
either
Maintenance
16
Quality
22
Community
18
Popularity
8
Documentation
15
smallvec
Maintenance
20
Quality
17
Community
19
Popularity
8
Documentation
12
Technical Details
| exemplars | either | smallvec | |
|---|---|---|---|
| Version | 0.0.3 | 1.16.0 | 1.15.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 2 | 8 |
| Crate Size | 3KB | 21KB | 35KB |
| Features | 7 | 3 | 10 |
| Yanked % | 0.0% | 0.0% | 26.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | 1.63.0 | — |
| Owners | 1 | 3 | 3 (team) |
Links
Quick Verdict
- •either leads with a health score of 79/100, but none of the options score above 80.
- •smallvec has the most downloads (898.7M), suggesting wider adoption.
- •smallvec is depended on by 60.5K crates — strongest ecosystem trust.
- •⚠ exemplars has not been updated in over a year.
- •exemplars is pre-1.0 — API may change.