Decision Workspace
ref-swap vs hv-atom vs swap-buffer-queue
Side-by-side comparison of Rust crates
51
ref-swap
growingv0.1.2
Safe wrapper around AtomicPtr
41
hv-atom
growingv0.1.0
Convenient abstractions for atomic operations on smart pointer/reference types, based on the `atom` crate
41
swap-buffer-queue
growingv0.2.1
A buffering MPSC queue.
Core Metrics
| ref-swap | hv-atom | swap-buffer-queue | |
|---|---|---|---|
| Health Score | 51 | 41 | 41 |
| Total Downloads | 92.1K | 2.3K | 28.4K |
| 30d Downloads | 6.2K | 24 | 8.0K |
| Dependents | 11 | 1 | 39 |
| Releases | 3 | 1 | 3 |
| Last Updated | 1025d ago | 1596d ago | 623d ago |
| Age | 2y 10m | 4y 4m | 2y 9m |
Health Breakdown
ref-swap
Maintenance
5
Quality
16
Community
14
Popularity
6
Documentation
10
hv-atom
Maintenance
1
Quality
16
Community
7
Popularity
4
Documentation
13
swap-buffer-queue
Maintenance
5
Quality
11
Community
10
Popularity
5
Documentation
10
Technical Details
| ref-swap | hv-atom | swap-buffer-queue | |
|---|---|---|---|
| Version | 0.1.2 | 0.1.0 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 OR MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 6 |
| Crate Size | 11KB | 5KB | 25KB |
| Features | 0 | 0 | 5 |
| Yanked % | 0.0% | 0.0% | 33.3% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 2 (team) | 1 | 1 |
Links
Quick Verdict
- •ref-swap leads with a health score of 51/100, but none of the options score above 80.
- •⚠ ref-swap, hv-atom, swap-buffer-queue have not been updated in over a year.