diff --git a/Cargo.lock b/Cargo.lock index 696f990f7a41..0943fef972b9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3193,7 +3193,7 @@ dependencies = [ "tokio", "tokio-tfo", "url", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -3313,7 +3313,7 @@ dependencies = [ "tokio-rustls 0.26.0", "tun2", "webpki-roots 0.26.3", - "windows-sys 0.52.0", + "windows-sys 0.59.0", "zstd", ] @@ -4218,6 +4218,15 @@ dependencies = [ "windows-targets 0.52.6", ] +[[package]] +name = "windows-sys" +version = "0.59.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" +dependencies = [ + "windows-targets 0.52.6", +] + [[package]] name = "windows-targets" version = "0.48.5" diff --git a/crates/shadowsocks-service/Cargo.toml b/crates/shadowsocks-service/Cargo.toml index 28b2ae0762ec..b6cdf2ff04be 100644 --- a/crates/shadowsocks-service/Cargo.toml +++ b/crates/shadowsocks-service/Cargo.toml @@ -212,7 +212,7 @@ shadowsocks = { version = "1.20.1", path = "../shadowsocks", default-features = nix = { version = "0.29", features = ["ioctl"] } [target.'cfg(windows)'.dependencies] -windows-sys = { version = "0.52", features = ["Win32_Networking_WinSock"] } +windows-sys = { version = "0.59", features = ["Win32_Networking_WinSock"] } [dev-dependencies] byteorder = "1.5" diff --git a/crates/shadowsocks/Cargo.toml b/crates/shadowsocks/Cargo.toml index 6674a990bd0a..0cd60e2825cc 100644 --- a/crates/shadowsocks/Cargo.toml +++ b/crates/shadowsocks/Cargo.toml @@ -99,7 +99,7 @@ shadowsocks-crypto = { version = "0.5.4", features = [] } tokio-tfo = "0.3" [target.'cfg(windows)'.dependencies] -windows-sys = { version = "0.52", features = [ +windows-sys = { version = "0.59", features = [ "Win32_Foundation", "Win32_NetworkManagement_IpHelper", "Win32_NetworkManagement_Ndis",