Remove unused rustls-webpki dependency

This commit is contained in:
daxpedda 2023-08-23 12:13:55 +02:00 committed by Benjamin Fry
parent 06fdd603a7
commit 3436a36244
5 changed files with 2 additions and 9 deletions

3
Cargo.lock generated
View File

@ -1827,7 +1827,6 @@ dependencies = [
"radix_trie",
"rand",
"rustls",
"rustls-webpki",
"serde",
"thiserror",
"tokio",
@ -1898,7 +1897,6 @@ dependencies = [
"ring",
"rustls",
"rustls-pemfile",
"rustls-webpki",
"serde",
"smallvec",
"socket2 0.5.3",
@ -2004,7 +2002,6 @@ dependencies = [
"data-encoding",
"openssl",
"rustls",
"rustls-webpki",
"tokio",
"tracing",
"tracing-subscriber",

View File

@ -62,7 +62,6 @@ native-tls = "0.2"
openssl = "0.10.55"
rustls = "0.21.0"
rustls-pemfile = "1.0.0"
webpki = { version = "0.101.0", package = "rustls-webpki" }
webpki-roots = "0.25.0"
ring = "0.16"

View File

@ -75,7 +75,6 @@ thiserror.workspace = true
tracing.workspace = true
tokio = { workspace = true, features = ["rt", "net"] }
trust-dns-proto = { workspace = true, features = ["text-parsing", "tokio-runtime"] }
webpki = { workspace = true, optional = true }
[dev-dependencies]
futures = { workspace = true, default-features = false, features = ["std", "executor"] }

View File

@ -31,7 +31,7 @@ maintenance = { status = "actively-developed" }
[features]
dns-over-tls = []
dns-over-rustls = ["dns-over-tls", "rustls", "rustls-pemfile", "tokio-rustls", "webpki", "tokio-runtime"]
dns-over-rustls = ["dns-over-tls", "rustls", "rustls-pemfile", "tokio-rustls", "tokio-runtime"]
dns-over-native-tls = ["dns-over-tls", "native-tls", "tokio-native-tls", "tokio-runtime"]
dns-over-openssl = ["dns-over-tls", "openssl", "tokio-openssl", "tokio-runtime"]
@ -101,7 +101,6 @@ tokio-openssl = { workspace = true, optional = true }
tokio-rustls = { workspace = true, optional = true, features = ["early-data"] }
url.workspace = true
wasm-bindgen-crate = { workspace = true, optional = true }
webpki = { workspace = true, optional = true }
webpki-roots = { workspace = true, optional = true }
[dev-dependencies]

View File

@ -30,7 +30,7 @@ codecov = { repository = "bluejekyll/trust-dns", branch = "main", service = "git
maintenance = { status = "actively-developed" }
[features]
dns-over-rustls = ["rustls", "webpki", "webpki-roots", "trust-dns-proto/dns-over-rustls", "trust-dns-client/dns-over-rustls", "trust-dns-resolver/dns-over-rustls"]
dns-over-rustls = ["rustls", "webpki-roots", "trust-dns-proto/dns-over-rustls", "trust-dns-client/dns-over-rustls", "trust-dns-resolver/dns-over-rustls"]
dns-over-https-rustls = ["dns-over-https", "dns-over-rustls", "trust-dns-proto/dns-over-https-rustls", "trust-dns-client/dns-over-https-rustls", "trust-dns-resolver/dns-over-https-rustls"]
dns-over-https = ["trust-dns-proto/dns-over-https", "trust-dns-client/dns-over-https","trust-dns-resolver/dns-over-https"]
@ -80,5 +80,4 @@ trust-dns-proto.workspace = true
trust-dns-recursor.workspace = true
trust-dns-resolver = { workspace = true, features = ["system-config"] }
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "time"] }
webpki = { workspace = true, optional = true }
webpki-roots = { workspace = true, optional = true }