Cargo Features
[dependencies]
async-transport = { version = "0.5.0", default-features = false, features = ["runtime-tokio", "runtime-async-std", "runtime-smol"] }
- default = runtime-smol
-
The
runtime-smol
feature is set by default wheneverasync-transport
is added without
somewhere in the dependency tree.default-features = false - runtime-tokio
- runtime-async-std = async-io, async-std
- runtime-smol default = async-io, smol
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.