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`
70
smallvec
stablev1.15.1
'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 | 70 | 40 |
| Total Downloads | 6.2K | 730.7M | 3.5K |
| 30d Downloads | 7 | 49.2M | 36 |
| Dependents | 0 | 51.1K | 1 |
| Releases | 4 | 76 | 1 |
| Last Updated | 1985d ago | 131d ago | 2365d ago |
| Age | 5y 5m | 10y 11m | 6y 5m |
Health Breakdown
calf-vec
Maintenance
9
Quality
16
Community
5
Popularity
5
Documentation
12
smallvec
Maintenance
14
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.1 | 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 | 38KB | 21KB |
| Features | 0 | 10 | 5 |
| Yanked % | 0.0% | 26.3% | 0.0% |
| Edition | 2018 | 2018 | — |
| MSRV | — | — | — |
| Owners | 1 | 3 (team) | 1 |
Links
Quick Verdict
- •smallvec leads with a health score of 70/100, but none of the options score above 80.
- •smallvec is depended on by 51.1K 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.