Cargo Features
[dependencies]
task_scope = { version = "0.1.1", default-features = false, features = ["async-std", "tokio"] }
- default = tokio
-
The
tokio
feature is set by default whenevertask_scope
is added without
somewhere in the dependency tree.default-features = false
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- async-std implicit feature
-
Enables async-std
async-std:
Async version of the Rust standard library
Affects
spawn::async_std
… - tokio default
-
Enables tokio ^0.2.6
Affects
spawn::tokio
…