diff --git a/Cargo.lock b/Cargo.lock index d3932c9fc65c..87101ac49e75 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1327,12 +1327,11 @@ dependencies = [ [[package]] name = "nix" -version = "0.23.1" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f866317acbd3a240710c63f065ffb1e4fd466259045ccb504130b7f668f35c6" +checksum = "8f17df307904acd05aa8e32e97bb20f2a0df1728bbc2d771ae8f9a90463441e9" dependencies = [ "bitflags", - "cc", "cfg-if", "libc", "memoffset", diff --git a/crates/shadowsocks-service/Cargo.toml b/crates/shadowsocks-service/Cargo.toml index 094fc1e44d78..83b816e92fde 100644 --- a/crates/shadowsocks-service/Cargo.toml +++ b/crates/shadowsocks-service/Cargo.toml @@ -132,7 +132,7 @@ shadowsocks = { version = "1.15.0", path = "../shadowsocks", default-features = # Just for the ioctl call macro [target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies] -nix = "0.23" +nix = "0.24" [target.'cfg(windows)'.dependencies] winapi = { version = "0.3", features = ["mswsock", "winsock2"] } diff --git a/crates/shadowsocks/Cargo.toml b/crates/shadowsocks/Cargo.toml index f45dd2039629..a70b7e60588a 100644 --- a/crates/shadowsocks/Cargo.toml +++ b/crates/shadowsocks/Cargo.toml @@ -94,7 +94,7 @@ sendfd = { version = "0.4", features = ["tokio"] } # Just for the ioctl call macro [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] -nix = "0.23" +nix = "0.24" [dev-dependencies] env_logger = "0.9"