diff --git a/Cargo.lock b/Cargo.lock index e36a747159d9..7473e3e371c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1651,16 +1651,6 @@ dependencies = [ "unicode-normalization", ] -[[package]] -name = "idna" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" -dependencies = [ - "unicode-bidi", - "unicode-normalization", -] - [[package]] name = "idna" version = "1.0.0" @@ -3232,7 +3222,7 @@ dependencies = [ "hickory-resolver", "http-body-util", "hyper", - "idna 0.5.0", + "idna 1.0.0", "ipnet", "iprange", "json5", diff --git a/crates/shadowsocks-service/Cargo.toml b/crates/shadowsocks-service/Cargo.toml index 48b5b4e3c3c9..72255da81674 100644 --- a/crates/shadowsocks-service/Cargo.toml +++ b/crates/shadowsocks-service/Cargo.toml @@ -162,7 +162,7 @@ hickory-resolver = { version = "0.24", optional = true, features = [ "serde-config", ] } -idna = "0.5" +idna = "1.0" ipnet = "2.9" iprange = "0.6" regex = "1.4"