diff --git a/Cargo.lock b/Cargo.lock index fb1cdfcdaaf..d6ef85d32c5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -473,7 +473,7 @@ dependencies = [ "futures-util", "pin-utils", "socket2 0.4.9", - "trust-dns-resolver", + "trust-dns-resolver 0.22.0", ] [[package]] @@ -1574,6 +1574,18 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "enum-as-inner" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ffccbb6966c05b32ef8fbac435df276c4ae4d3dc55a8cd0eb9745e6c12f546a" +dependencies = [ + "heck", + "proc-macro2", + "quote", + "syn 2.0.28", +] + [[package]] name = "env_logger" version = "0.8.4" @@ -2210,7 +2222,7 @@ dependencies = [ "rustls 0.20.8", "rustls-native-certs", "tokio", - "tokio-rustls", + "tokio-rustls 0.23.4", ] [[package]] @@ -2707,7 +2719,7 @@ dependencies = [ "parking_lot", "smallvec", "tokio", - "trust-dns-resolver", + "trust-dns-resolver 0.23.1", ] [[package]] @@ -2874,7 +2886,7 @@ dependencies = [ "smallvec", "socket2 0.5.3", "tokio", - "trust-dns-proto", + "trust-dns-proto 0.22.0", "void", ] @@ -3356,7 +3368,7 @@ dependencies = [ "rw-stream-sink", "soketto", "url", - "webpki-roots 0.25.2", + "webpki-roots", ] [[package]] @@ -5714,6 +5726,16 @@ dependencies = [ "webpki 0.22.0", ] +[[package]] +name = "tokio-rustls" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" +dependencies = [ + "rustls 0.21.6", + "tokio", +] + [[package]] name = "tokio-util" version = "0.7.8" @@ -5850,33 +5872,58 @@ name = "trust-dns-proto" version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26" +dependencies = [ + "async-trait", + "cfg-if 1.0.0", + "data-encoding", + "enum-as-inner 0.5.1", + "futures-channel", + "futures-io", + "futures-util", + "idna 0.2.3", + "ipnet", + "lazy_static", + "rand 0.8.5", + "smallvec", + "socket2 0.4.9", + "thiserror", + "tinyvec", + "tokio", + "tracing", + "url", +] + +[[package]] +name = "trust-dns-proto" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "559ac980345f7f5020883dd3bcacf176355225e01916f8c2efecad7534f682c6" dependencies = [ "async-trait", "bytes", "cfg-if 1.0.0", "data-encoding", - "enum-as-inner", + "enum-as-inner 0.6.0", "futures-channel", "futures-io", "futures-util", "h2", "http", - "idna 0.2.3", + "idna 0.4.0", "ipnet", - "lazy_static", + "once_cell", "rand 0.8.5", - "rustls 0.20.8", + "rustls 0.21.6", "rustls-pemfile", + "rustls-webpki", "smallvec", - "socket2 0.4.9", "thiserror", "tinyvec", "tokio", - "tokio-rustls", + "tokio-rustls 0.24.1", "tracing", "url", - "webpki 0.22.0", - "webpki-roots 0.22.6", + "webpki-roots", ] [[package]] @@ -5892,14 +5939,34 @@ dependencies = [ "lru-cache", "parking_lot", "resolv-conf", - "rustls 0.20.8", + "smallvec", + "thiserror", + "tracing", + "trust-dns-proto 0.22.0", +] + +[[package]] +name = "trust-dns-resolver" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c723b0e608b24ad04c73b2607e0241b2c98fd79795a95e98b068b6966138a29d" +dependencies = [ + "cfg-if 1.0.0", + "futures-util", + "ipconfig", + "lru-cache", + "once_cell", + "parking_lot", + "rand 0.8.5", + "resolv-conf", + "rustls 0.21.6", "smallvec", "thiserror", "tokio", - "tokio-rustls", + "tokio-rustls 0.24.1", "tracing", - "trust-dns-proto", - "webpki-roots 0.22.6", + "trust-dns-proto 0.23.1", + "webpki-roots", ] [[package]] @@ -6290,15 +6357,6 @@ dependencies = [ "untrusted", ] -[[package]] -name = "webpki-roots" -version = "0.22.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c71e40d7d2c34a5106301fb632274ca37242cd0c9d3e64dbece371a40a2d87" -dependencies = [ - "webpki 0.22.0", -] - [[package]] name = "webpki-roots" version = "0.25.2" diff --git a/transports/dns/Cargo.toml b/transports/dns/Cargo.toml index a85307aad32..67a005303b1 100644 --- a/transports/dns/Cargo.toml +++ b/transports/dns/Cargo.toml @@ -17,7 +17,7 @@ log = "0.4.20" futures = "0.3.28" async-std-resolver = { version = "0.22", optional = true } parking_lot = "0.12.0" -trust-dns-resolver = { version = "0.22", default-features = false, features = ["system-config"] } +trust-dns-resolver = { version = "0.23", default-features = false, features = ["system-config"] } smallvec = "1.11.0" [dev-dependencies]