Cargo Features

[dependencies]
hyper-trust-dns = { version = "0.5.0", default-features = false, features = ["https-only", "system-config", "dns-over-openssl", "dns-over-native-tls", "dns-over-rustls", "dns-over-https-rustls", "dnssec-openssl", "dnssec-ring", "rustls-webpki", "rustls-native", "rustls-http1", "rustls-http2", "rustls-tls-12", "native-tls"] }
default = https-only, rustls-http1, rustls-webpki

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

https-only default
system-config

Configuration features

Enables system-config of trust-dns-resolver ^0.22

dns-over-openssl

DNS features

Enables dns-over-openssl of trust-dns-resolver ^0.22

dns-over-native-tls

Enables dns-over-native-tls of trust-dns-resolver ^0.22

dns-over-rustls

Enables dns-over-rustls of trust-dns-resolver ^0.22

dns-over-https-rustls

Enables dns-over-https-rustls of trust-dns-resolver ^0.22

trust-dns-resolver:

This requires some TLS library, currently only rustls is supported

dnssec-openssl

Enables dnssec-openssl of trust-dns-resolver ^0.22

dnssec-ring

Enables dnssec-ring of trust-dns-resolver ^0.22

rustls-webpki default = hyper-rustls

RustlsHttpsConnector options

Enables webpki-tokio of hyper-rustls ^0.23

Rustls

Affects hyper-trust-dns::RustlsHttpsConnector

rustls-native = hyper-rustls

Enables native-tokio of hyper-rustls ^0.23

Affects hyper-trust-dns::RustlsHttpsConnector

rustls-http1 default

Enables http1 of hyper-rustls ^0.23

rustls-http2

Enables http2 of hyper-rustls ^0.23

rustls-tls-12

Enables tls12 of hyper-rustls ^0.23

native-tls = hyper-tls

NativeTlsHttpsConnector options

Affects hyper-trust-dns::NativeTlsHttpsConnector

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-rustls rustls-http1 rustls-http2? rustls-native? rustls-tls-12? rustls-webpki

Enables hyper-rustls ^0.23

hyper-tls native-tls?

Enables hyper-tls ^0.5

Native-TLS