Decision Workspace
oneshot vs oneshot-uniffi vs lite-sync
Side-by-side comparison of Rust crates
58
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.
48
oneshot-uniffi
growingv0.1.6
Patched version of oneshot specifically for the UniFFI project. This removes the `loom` target and dependency which helps with UniFFI's downstream consumers.
54
lite-sync
experimentalv0.2.3
Fast, lightweight async primitives: SPSC channel, oneshot, notify, and atomic waker
Core Metrics
| oneshot | oneshot-uniffi | lite-sync | |
|---|---|---|---|
| Health Score | 58 | 48 | 54 |
| Total Downloads | 20.0M | 665.0K | 961 |
| 30d Downloads | 1.8M | 21.2K | 0 |
| Dependents | 1.9K | 5 | 10 |
| Releases | 16 | 2 | 13 |
| Last Updated | 91d ago | 880d ago | 134d ago |
| Age | 6y 12m | 2y 5m | 6m |
Health Breakdown
oneshot
Maintenance
12
Quality
11
Community
15
Popularity
8
Documentation
12
oneshot-uniffi
Maintenance
4
Quality
17
Community
8
Popularity
7
Documentation
12
lite-sync
Maintenance
13
Quality
15
Community
9
Popularity
4
Documentation
13
Technical Details
| oneshot | oneshot-uniffi | lite-sync | |
|---|---|---|---|
| Version | 0.2.1 | 0.1.6 | 0.2.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 3 | 6 |
| Crate Size | 48KB | 32KB | 50KB |
| Features | 2 | 3 | 3 |
| Yanked % | 25.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.85.0 | 1.60.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •oneshot leads with a health score of 58/100, but none of the options score above 80.
- •oneshot is depended on by 1.9K crates — strongest ecosystem trust.
- •⚠ oneshot-uniffi has not been updated in over a year.