Decision Workspace
async-safe-defer vs maitake-sync vs oneshot
Side-by-side comparison of Rust crates
45
async-safe-defer
experimentalv0.1.2
Minimal async- and sync-capable `defer` crate
65
maitake-sync
growingv0.3.0
No-std async synchronization primitives from Maitake
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.
Core Metrics
| async-safe-defer | maitake-sync | oneshot | |
|---|---|---|---|
| Health Score | 45 | 65 | 61 |
| Total Downloads | 2.5K | 142.8K | 16.6M |
| 30d Downloads | 23 | 17.6K | 1.4M |
| Dependents | 0 | 101 | 1.7K |
| Releases | 3 | 7 | 16 |
| Last Updated | 349d ago | 14d ago | 32d ago |
| Age | 11m | 2y 6m | 6y 10m |
Health Breakdown
async-safe-defer
Maintenance
9
Quality
16
Community
3
Popularity
4
Documentation
13
maitake-sync
Maintenance
19
Quality
14
Community
11
Popularity
6
Documentation
15
oneshot
Maintenance
15
Quality
11
Community
15
Popularity
8
Documentation
12
Technical Details
| async-safe-defer | maitake-sync | oneshot | |
|---|---|---|---|
| Version | 0.1.2 | 0.3.0 | 0.2.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 1 | 17 | 4 |
| Crate Size | 5KB | 106KB | 48KB |
| Features | 2 | 6 | 2 |
| Yanked % | 0.0% | 0.0% | 25.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.61.0 | 1.85.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •maitake-sync leads with a health score of 65/100, but none of the options score above 80.
- •oneshot has the most downloads (16.6M), suggesting wider adoption.
- •oneshot is depended on by 1.7K crates — strongest ecosystem trust.