Cargo Features
[dependencies]
dns-resolver = { version = "0.2.14", default-features = false, features = ["slings-runtime", "awak-runtime", "tokio-runtime"] }
- default = slings-runtime
-
The
slings-runtime
feature is set by default wheneverdns-resolver
is added without
somewhere in the dependency tree.default-features = false - slings-runtime default = futures-util, slings
- awak-runtime = awak, futures-util
- tokio-runtime = tokio
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.