Cargo Features
[dependencies]
futures-dnsv2 = { version = "0.2.8", default-features = false, features = ["rasi", "nslookup", "sysconf", "mdns"] }
- default = mdns, nslookup, rasi, sysconf
-
These default features are set whenever
futures-dnsv2
is added without
somewhere in the dependency tree.default-features = false - rasi default = socket2, sysconf
-
Enables rasi
Affects
futures-dnsv2::rasi
… - nslookup default = hickory-proto
-
Affects
futures-dnsv2::nslookup
… - sysconf default rasi = ipconfig, resolv-conf
-
Affects
futures-dnsv2::sysconf
… - mdns default = rand, spin, uuid
-
Affects
futures-dnsv2::mdns
…
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.