diff --git a/examples/Cargo.toml b/examples/Cargo.toml index a244fccaca1..d1a70dbc774 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -25,7 +25,7 @@ once_cell = "1.5.2" rand = "0.8.3" [target.'cfg(windows)'.dev-dependencies.windows-sys] -version = "0.48" +version = "0.52" [[example]] name = "chat" diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 4c4402227a2..d13dcddffd3 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -121,11 +121,11 @@ libc = { version = "0.2.149" } nix = { version = "0.26", default-features = false, features = ["fs", "socket"] } [target.'cfg(windows)'.dependencies.windows-sys] -version = "0.48" +version = "0.52" optional = true [target.'cfg(windows)'.dev-dependencies.windows-sys] -version = "0.48" +version = "0.52" features = [ "Win32_Foundation", "Win32_Security_Authorization",