From a2bb84306150f072a44bfea1e27bd3eaa101aa04 Mon Sep 17 00:00:00 2001 From: Martin Algesten Date: Sat, 30 Sep 2023 11:29:37 +0200 Subject: [PATCH] Lock down url dep to 2.3.1 url 2.4.x brings in idna 0.4.0 and cookie_store dep on idna 0.3.0. To avoid douple deps, we hold back url to 2.3.x --- Cargo.lock | 18 ++++-------------- Cargo.toml | 4 +++- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bb9c7de5..a2be10cc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -117,7 +117,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "387461abbc748185c3a6e1673d826918b450b87ff22639429c694619a83b6cf6" dependencies = [ "cookie", - "idna 0.3.0", + "idna", "indexmap", "log", "serde", @@ -286,16 +286,6 @@ dependencies = [ "unicode-normalization", ] -[[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 = "indexmap" version = "1.9.3" @@ -805,12 +795,12 @@ dependencies = [ [[package]] name = "url" -version = "2.4.1" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" +checksum = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643" dependencies = [ "form_urlencoded", - "idna 0.4.0", + "idna", "percent-encoding", ] diff --git a/Cargo.toml b/Cargo.toml index 25e7b436..092f519e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,9 @@ http-interop = ["dep:http"] base64 = "0.21" cookie = { version = "0.17", default-features = false, optional = true} once_cell = "1" -url = "2" +# url 2.4.x brings in idna 0.4.0 and cookie_store dep on idna 0.3.0 +# check if we can remove this next time we upgrade cookie_store. +url = "=2.3.1" socks = { version = "0.3", optional = true } serde = { version = "1", optional = true } serde_json = { version = ">=1.0.97", optional = true }