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
somewhere in the dependency tree.default-features = false - 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.