Cargo Features
tokio-tasks has no features set by default.
[dependencies]
tokio-tasks = { version = "0.2.1", features = ["pause", "runtoken-id", "ordered-locks"] }
- pause
-
Affects
run_token::WaitForPauseFuture
… - runtoken-id
Features from optional dependencies
- ordered-locks implicit feature
-
Enables ordered-locks
ordered-locks:
Compiletime deadlock avoidance
Affects
task::cancelable_checked
…