diff --git a/Cargo.lock b/Cargo.lock index 9488ef61d76..77a73f1c7ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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.29", +] + [[package]] name = "env_logger" version = "0.8.4" @@ -2863,7 +2875,7 @@ dependencies = [ "smallvec", "socket2 0.5.3", "tokio", - "trust-dns-proto", + "trust-dns-proto 0.23.0", "void", ] @@ -5864,7 +5876,7 @@ dependencies = [ "bytes", "cfg-if 1.0.0", "data-encoding", - "enum-as-inner", + "enum-as-inner 0.5.1", "futures-channel", "futures-io", "futures-util", @@ -5877,7 +5889,6 @@ dependencies = [ "rustls 0.20.8", "rustls-pemfile", "smallvec", - "socket2 0.4.9", "thiserror", "tinyvec", "tokio", @@ -5888,6 +5899,31 @@ dependencies = [ "webpki-roots 0.22.6", ] +[[package]] +name = "trust-dns-proto" +version = "0.23.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dc775440033cb114085f6f2437682b194fa7546466024b1037e82a48a052a69" +dependencies = [ + "async-trait", + "cfg-if 1.0.0", + "data-encoding", + "enum-as-inner 0.6.0", + "futures-channel", + "futures-io", + "futures-util", + "idna 0.4.0", + "ipnet", + "once_cell", + "rand 0.8.5", + "smallvec", + "socket2 0.5.3", + "thiserror", + "tinyvec", + "tracing", + "url", +] + [[package]] name = "trust-dns-resolver" version = "0.22.0" @@ -5907,7 +5943,7 @@ dependencies = [ "tokio", "tokio-rustls", "tracing", - "trust-dns-proto", + "trust-dns-proto 0.22.0", "webpki-roots 0.22.6", ] diff --git a/protocols/mdns/Cargo.toml b/protocols/mdns/Cargo.toml index 41f5d9af428..01a30741914 100644 --- a/protocols/mdns/Cargo.toml +++ b/protocols/mdns/Cargo.toml @@ -23,7 +23,7 @@ rand = "0.8.3" smallvec = "1.11.0" socket2 = { version = "0.5.3", features = ["all"] } tokio = { version = "1.32", default-features = false, features = ["net", "time"], optional = true} -trust-dns-proto = { version = "0.22.0", default-features = false, features = ["mdns", "tokio-runtime"] } +trust-dns-proto = { version = "0.23.0", default-features = false, features = ["mdns"] } void = "1.0.2" [features]