Decision Workspace
either-slot vs oneshot vs lite-sync
Side-by-side comparison of Rust crates
44
either-slot
growingv1.2.0
An atomic slot whose senders can either place their value into the slot, or retrive all the data from the slot.
61
oneshot
growingv0.2.1
Oneshot spsc channel with (potentially) lock-free non-blocking send, and a receiver supporting both thread blocking receive operations as well as Future based async polling.
55
lite-sync
experimentalv0.2.3
Fast, lightweight async primitives: SPSC channel, oneshot, notify, and atomic waker
Core Metrics
| either-slot | oneshot | lite-sync | |
|---|---|---|---|
| Health Score | 44 | 61 | 55 |
| Total Downloads | 5.5K | 16.6M | 693 |
| 30d Downloads | 6 | 1.4M | 64 |
| Dependents | 0 | 1.7K | 10 |
| Releases | 4 | 16 | 13 |
| Last Updated | 836d ago | 32d ago | 75d ago |
| Age | 2y 4m | 6y 10m | 4m |
Health Breakdown
either-slot
Maintenance
4
Quality
20
Community
6
Popularity
4
Documentation
10
oneshot
Maintenance
15
Quality
11
Community
15
Popularity
8
Documentation
12
lite-sync
Maintenance
15
Quality
15
Community
9
Popularity
3
Documentation
13
Technical Details
| either-slot | oneshot | lite-sync | |
|---|---|---|---|
| Version | 1.2.0 | 0.2.1 | 0.2.3 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 4 | 6 |
| Crate Size | 10KB | 48KB | 50KB |
| Features | 0 | 2 | 3 |
| Yanked % | 0.0% | 25.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.85.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •oneshot leads with a health score of 61/100, but none of the options score above 80.
- •oneshot is depended on by 1.7K crates — strongest ecosystem trust.
- •⚠ either-slot has not been updated in over a year.
- •oneshot, lite-sync are pre-1.0 — API may change.