Cargo Features
[dependencies]
async-rt = { version = "0.1.5", default-features = false, features = ["threadpool", "tokio"] }
- default = tokio
-
The
tokio
feature is set by default wheneverasync-rt
is added without
somewhere in the dependency tree.default-features = false - threadpool
-
Enables thread-pool of futures
Affects
rt::threadpool
…
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.
- tokio not wasm32 default
-
Affects
rt::tokio
…