diff --git a/Cargo.toml b/Cargo.toml index c11a2b2..563aa17 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,7 +37,7 @@ smol = { version = "1.2.5", optional = true } [target.'cfg(target_os = "windows")'.dependencies] if-addrs = "0.10.0" -windows = { version = "0.51.0", features = ["Win32_NetworkManagement_IpHelper", "Win32_Foundation", "Win32_NetworkManagement_Ndis", "Win32_Networking_WinSock"] } +windows = { version = ">=0.51.0,<=0.53", features = ["Win32_NetworkManagement_IpHelper", "Win32_Foundation", "Win32_NetworkManagement_Ndis", "Win32_Networking_WinSock"] } [target.'cfg(not(any(target_os = "ios", target_os = "linux", target_os = "macos", target_os = "windows")))'.dependencies] async-io = "2.0.0"