From 30e6c2385cb471cb091bcc12806bba53bc262206 Mon Sep 17 00:00:00 2001 From: strawberry Date: Wed, 17 Apr 2024 20:05:56 -0400 Subject: [PATCH] use latest main rev for hickory (and for reqwest) Signed-off-by: strawberry --- Cargo.lock | 35 +++++++++++++++++------------------ Cargo.toml | 13 ++++++++----- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f0bec7f2..bdf9d374 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -111,6 +111,17 @@ dependencies = [ "zstd-safe", ] +[[package]] +name = "async-recursion" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30c5ef0ede93efbf733c1a727f3b6b5a1060bbedd5600183e66f6e4be4af0ec5" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.58", +] + [[package]] name = "async-trait" version = "0.1.80" @@ -1045,9 +1056,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hickory-proto" version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "091a6fbccf4860009355e3efc52ff4acf37a63489aad7435372d44ceeb6fbbcf" +source = "git+https://github.com/hickory-dns/hickory-dns?rev=94ac564c3f677e038f7255ddb762e9301d0f2c5d#94ac564c3f677e038f7255ddb762e9301d0f2c5d" dependencies = [ + "async-recursion", "async-trait", "cfg-if", "data-encoding", @@ -1055,7 +1066,7 @@ dependencies = [ "futures-channel", "futures-io", "futures-util", - "idna 0.4.0", + "idna", "ipnet", "once_cell", "rand", @@ -1069,8 +1080,7 @@ dependencies = [ [[package]] name = "hickory-resolver" version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "35b8f021164e6a984c9030023544c57789c51760065cd510572fedcfb04164e8" +source = "git+https://github.com/hickory-dns/hickory-dns?rev=94ac564c3f677e038f7255ddb762e9301d0f2c5d#94ac564c3f677e038f7255ddb762e9301d0f2c5d" dependencies = [ "cfg-if", "futures-util", @@ -1311,16 +1321,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "idna" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - [[package]] name = "idna" version = "0.5.0" @@ -2285,8 +2285,7 @@ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" [[package]] name = "reqwest" version = "0.11.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" +source = "git+https://github.com/girlbossceo/reqwest?rev=319335e000fdea2e3d01f44245c8a21864d0c1c3#319335e000fdea2e3d01f44245c8a21864d0c1c3" dependencies = [ "async-compression", "base64 0.21.7", @@ -3763,7 +3762,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" dependencies = [ "form_urlencoded", - "idna 0.5.0", + "idna", "percent-encoding", "serde", ] diff --git a/Cargo.toml b/Cargo.toml index fa0e6577..e9d6b11b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,9 +29,6 @@ base64 = "0.22.0" # Used when hashing the state ring = "0.17.8" -# Used when querying the SRV record of other servers -hickory-resolver = "0.24.0" - # Used to find matching events for appservices regex = "1.10.4" @@ -107,9 +104,11 @@ version = "0.14" features = ["server", "http1", "http2"] [dependencies.reqwest] -version = "0.11.27" +#version = "0.11.27" +git = "https://github.com/girlbossceo/reqwest" +rev = "319335e000fdea2e3d01f44245c8a21864d0c1c3" default-features = false -features = ["rustls-tls-native-roots", "socks", "trust-dns"] +features = ["rustls-tls-native-roots", "socks", "hickory-dns"] # all the serde stuff # Used for pdu definition @@ -272,6 +271,10 @@ features = [ "unstable-extensible-events", ] +[dependencies.hickory-resolver] +git = "https://github.com/hickory-dns/hickory-dns" +rev = "94ac564c3f677e038f7255ddb762e9301d0f2c5d" + [dependencies.rust-rocksdb] git = "https://github.com/zaidoon1/rust-rocksdb" branch = "master"