diff --git a/Cargo.lock b/Cargo.lock index e21aeebc7..1c482d77f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1098,17 +1098,25 @@ checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" [[package]] name = "dhcproto" -version = "0.8.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "656b1fafe9931d897da5f17b40115deaedb0725d9b8d3e67c6f1271d29b07a58" +checksum = "0f50f70ee36644509addb2a569d132eef63c579ba1395b735eeef56675fbcbc7" dependencies = [ + "dhcproto-macros", "hex", + "ipnet", "rand", "thiserror", - "trust-dns-proto 0.21.2", + "trust-dns-proto 0.22.0", "url", ] +[[package]] +name = "dhcproto-macros" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7993efb860416547839c115490d4951c6d0f8ec04a3594d9dd99d50ed7ec170" + [[package]] name = "difflib" version = "0.4.0" @@ -1198,9 +1206,9 @@ checksum = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" [[package]] name = "enum-as-inner" -version = "0.4.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "21cdad81446a7f7dc43f6a77409efeb9733d2fa65553efef6018ef257c959b73" +checksum = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" dependencies = [ "heck", "proc-macro2", @@ -3953,25 +3961,25 @@ dependencies = [ [[package]] name = "trust-dns-proto" -version = "0.21.2" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c31f240f59877c3d4bb3b3ea0ec5a6a0cff07323580ff8c7a605cd7d08b255d" +checksum = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26" dependencies = [ "async-trait", "cfg-if", "data-encoding", - "enum-as-inner 0.4.0", + "enum-as-inner 0.5.1", "futures-channel", "futures-io", "futures-util", "idna 0.2.3", "ipnet", "lazy_static", - "log", "rand", "smallvec", "thiserror", "tinyvec", + "tracing", "url", ] diff --git a/clash_lib/Cargo.toml b/clash_lib/Cargo.toml index d1fa0560f..0c35c342d 100644 --- a/clash_lib/Cargo.toml +++ b/clash_lib/Cargo.toml @@ -82,7 +82,7 @@ trust-dns-proto = { git = "https://github.com/Watfaq/trust-dns.git", rev = "a6a7 rustls = { version = "0.21", features=["dangerous_configuration"] } rustls-pemfile = "1.0.3" webpki-roots = "0.25" -dhcproto = "0.8" +dhcproto = "0.10" rand = "0.8"