Decision Workspace
calf-vec vs smallvec vs smallvec-stableunion
Side-by-side comparison of Rust crates
47
calf-vec
growingv0.3.1-beta
Small copy-on-write arrays, essentially combining `SmallVec` and `Cow`
74
smallvec
stablev1.15.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
| calf-vec | smallvec | smallvec-stableunion | |
|---|---|---|---|
| Health Score | 47 | 74 | 40 |
| Total Downloads | 6.2K | 970.5M | 3.7K |
| 30d Downloads | 0 | 48.6M | 0 |
| Dependents | 0 | 63.8K | 1 |
| Releases | 4 | 77 | 1 |
| Last Updated | 2093d ago | 32d ago | 2473d ago |
| Age | 5y 8m | 11y 3m | 6y 9m |
Health Breakdown
calf-vec
Maintenance
9
Quality
16
Community
5
Popularity
5
Documentation
12
smallvec
Maintenance
18
Quality
17
Community
19
Popularity
8
Documentation
12
smallvec-stableunion
Maintenance
1
Quality
18
Community
6
Popularity
4
Documentation
11
Technical Details
| calf-vec | smallvec | smallvec-stableunion | |
|---|---|---|---|
| Version | 0.3.1-beta | 1.15.2 | 0.6.10 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 0 | 8 | 2 |
| Crate Size | 11KB | 35KB | 21KB |
| Features | 0 | 10 | 5 |
| Yanked % | 0.0% | 26.0% | 0.0% |
| Edition | 2018 | 2018 | — |
| MSRV | — | — | — |
| Owners | 1 | 3 (team) | 1 |
Links
Quick Verdict
- •smallvec leads with a health score of 74/100, but none of the options score above 80.
- •smallvec is depended on by 63.8K crates — strongest ecosystem trust.
- •⚠ calf-vec, smallvec-stableunion have not been updated in over a year.
- •calf-vec, smallvec-stableunion are pre-1.0 — API may change.