Decision Workspace
abort-on-drop vs kyansel vs drop-handle
Side-by-side comparison of Rust crates
44
abort-on-drop
growingv0.2.2
A wrapper of Tokio's JoinHandle that aborts the task when it's dropped, while still allowing it to be awaited for joining.
41
kyansel
growingv0.3.1
Cancellable future. Provide a future as argument and the current future will cancel if the provided future resolves first
41
drop-handle
growingv1.0.0
A handle that will abort a Tokio task when dropped.
Core Metrics
| abort-on-drop | kyansel | drop-handle | |
|---|---|---|---|
| Health Score | 44 | 41 | 41 |
| Total Downloads | 805.7K | 9.6K | 29 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 41 | 0 | 0 |
| Releases | 4 | 5 | 1 |
| Last Updated | 1527d ago | 2514d ago | 228d ago |
| Age | 4y 5m | 6y 10m | 7m |
Health Breakdown
abort-on-drop
Maintenance
3
Quality
15
Community
9
Popularity
7
Documentation
10
kyansel
Maintenance
7
Quality
14
Community
3
Popularity
5
Documentation
12
drop-handle
Maintenance
4
Quality
17
Community
6
Popularity
2
Documentation
12
Technical Details
| abort-on-drop | kyansel | drop-handle | |
|---|---|---|---|
| Version | 0.2.2 | 0.3.1 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | BSD-2-Clause | Apache-2.0/MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 4 | 4 |
| Crate Size | 2KB | 16KB | 5KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2024 |
| MSRV | — | — | 1.85.1 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •abort-on-drop leads with a health score of 44/100, but none of the options score above 80.
- •⚠ abort-on-drop, kyansel have not been updated in over a year.
- •abort-on-drop, kyansel are pre-1.0 — API may change.