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`
68
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 | 68 | 40 |
| Total Downloads | 6.2K | 847.6M | 3.6K |
| 30d Downloads | 0 | 66.6M | 0 |
| Dependents | 0 | 57.7K | 1 |
| Releases | 4 | 76 | 1 |
| Last Updated | 2044d ago | 190d ago | 2424d ago |
| Age | 5y 7m | 11y 1m | 6y 7m |
Health Breakdown
calf-vec
Maintenance
9
Quality
16
Community
5
Popularity
5
Documentation
12
smallvec
Maintenance
12
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 68/100, but none of the options score above 80.
- •smallvec is depended on by 57.7K 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.