Decision Workspace
reft vs ref-swap vs tinyvec
Side-by-side comparison of Rust crates
41
reft
experimentalv0.2.0
Ref and Mut wrappers that implement AsRef and AsMut for any given &T
51
ref-swap
growingv0.1.2
Safe wrapper around AtomicPtr
76
tinyvec
stablev1.11.0
`tinyvec` provides 100% safe vec-like data structures.
Core Metrics
| reft | ref-swap | tinyvec | |
|---|---|---|---|
| Health Score | 41 | 51 | 76 |
| Total Downloads | 1.3K | 92.1K | 447.2M |
| 30d Downloads | 5 | 6.2K | 27.5M |
| Dependents | 0 | 11 | 2.9K |
| Releases | 3 | 3 | 38 |
| Last Updated | 281d ago | 1025d ago | 13d ago |
| Age | 9m | 2y 10m | 6y 2m |
Health Breakdown
reft
Maintenance
9
Quality
15
Community
6
Popularity
4
Documentation
7
ref-swap
Maintenance
5
Quality
16
Community
14
Popularity
6
Documentation
10
tinyvec
Maintenance
18
Quality
21
Community
20
Popularity
8
Documentation
9
Technical Details
| reft | ref-swap | tinyvec | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.2 | 1.11.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | Apache-2.0 OR MIT | Zlib OR Apache-2.0 OR MIT |
| Dependencies | 0 | 0 | 11 |
| Crate Size | 8KB | 11KB | 53KB |
| Features | 0 | 0 | 14 |
| Yanked % | 0.0% | 0.0% | 2.6% |
| Edition | 2024 | 2021 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 2 (team) | 2 (team) |
Links
Quick Verdict
- •tinyvec leads with a health score of 76/100, but none of the options score above 80.
- •tinyvec is depended on by 2.9K crates — strongest ecosystem trust.
- •⚠ ref-swap has not been updated in over a year.
- •reft, ref-swap are pre-1.0 — API may change.