# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "hyper-trust-dns" version = "0.5.0" description = "HTTP/HTTPS connectors for hyper that use trust-dns' DNS resolver" homepage = "https://github.com/Gelbpunkt/hyper-trust-dns" documentation = "https://docs.rs/hyper-trust-dns" readme = "README.md" license = "MIT" repository = "https://github.com/Gelbpunkt/hyper-trust-dns" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[bench]] name = "requests_per_sec" path = "benches/requests_per_sec.rs" harness = false [dependencies.hyper] version = "0.14" features = [ "client", "runtime", "tcp", ] default-features = false [dependencies.hyper-rustls] version = "0.23" features = ["tokio-runtime"] optional = true default-features = false [dependencies.hyper-tls] version = "0.5" optional = true default-features = false [dependencies.tokio] version = "1" features = ["rt"] default-features = false [dependencies.trust-dns-resolver] version = "0.22" features = ["tokio-runtime"] default-features = false [dev-dependencies.criterion] version = "0.3" features = ["async_tokio"] [dev-dependencies.hyper] version = "0.14" features = [ "client", "tcp", "http1", "http2", ] default-features = false [dev-dependencies.hyper-rustls] version = "0.23" features = [ "tokio-runtime", "webpki-tokio", "http1", "http2", ] default-features = false [dev-dependencies.tokio] version = "1" features = [ "rt", "macros", ] default-features = false [features] default = [ "https-only", "rustls-webpki", "rustls-http1", ] dns-over-https-rustls = ["trust-dns-resolver/dns-over-https-rustls"] dns-over-native-tls = ["trust-dns-resolver/dns-over-native-tls"] dns-over-openssl = ["trust-dns-resolver/dns-over-openssl"] dns-over-rustls = ["trust-dns-resolver/dns-over-rustls"] dnssec-openssl = ["trust-dns-resolver/dnssec-openssl"] dnssec-ring = ["trust-dns-resolver/dnssec-ring"] https-only = [] native-tls = ["hyper-tls"] rustls-http1 = ["hyper-rustls/http1"] rustls-http2 = ["hyper-rustls/http2"] rustls-native = [ "hyper-rustls", "hyper-rustls/native-tokio", ] rustls-tls-12 = ["hyper-rustls/tls12"] rustls-webpki = [ "hyper-rustls", "hyper-rustls/webpki-tokio", ] system-config = ["trust-dns-resolver/system-config"]