diff --git a/Cargo.lock b/Cargo.lock index ff286dd59353..e365d033b70b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1306,9 +1306,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" +checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" [[package]] name = "iprange" diff --git a/Cargo.toml b/Cargo.toml index 4aeb9d9def7d..f9809f96a465 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -184,7 +184,7 @@ futures = "0.3" tokio = { version = "1", features = ["rt", "signal"] } num_cpus = "1.15" -ipnet = { version = "2.7", optional = true } +ipnet = { version = "2.9", optional = true } mimalloc = { version = "0.1", default-features = false, optional = true } tcmalloc = { version = "0.3", optional = true } diff --git a/crates/shadowsocks-service/Cargo.toml b/crates/shadowsocks-service/Cargo.toml index 9e3d0cbf0023..de2a27110617 100644 --- a/crates/shadowsocks-service/Cargo.toml +++ b/crates/shadowsocks-service/Cargo.toml @@ -152,7 +152,7 @@ hickory-resolver = { version = "0.24", optional = true, features = [ ] } idna = "0.4" -ipnet = "2.7" +ipnet = "2.9" iprange = "0.6" regex = "1.4"