Cargo Features

[dependencies]
dnsie = { version = "0.1.0", default-features = false, features = ["serialize", "doh", "rand"] }
default = doh, serialize

These default features are set whenever dnsie is added without default-features = false somewhere in the dependency tree.

serialize default = serde, serde_derive
doh default = hyper

Affects dns::doh

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.

hyper doh

Enables hyper ^0.13

serde serialize
serde_derive serialize
rand implicit feature

Enables rand ^0.7

rand:

Random number generators and other randomness functionality