Cargo Features

[dependencies]
doh-client = { version = "3.1.2", default-features = false, features = ["socks5", "http-proxy", "native-certs", "main-windows-service"] }
default = http-proxy, native-certs, socks5

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

socks5 default = tokio-socks
http-proxy default = async-http-proxy
native-certs default = rustls-native-certs
main-windows-service = windows-service, winlog

Required by the windows-service binary

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.

async-http-proxy http-proxy
rustls-native-certs native-certs

Enables rustls-native-certs ~0.6.2

tokio-socks socks5
windows-service main-windows-service?

Enables windows-service ~0.4.0

winlog main-windows-service?