Cargo Features
[dependencies]
lspower = { version = "1.5.0", default-features = false, features = ["runtime-agnostic", "runtime-tokio"] }
- default = runtime-tokio
-
The
runtime-tokio
feature is set by default wheneverlspower
is added without
somewhere in the dependency tree.default-features = false - runtime-agnostic = async-codec-lite
- runtime-tokio default = tokio, tokio-util
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.