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 de566d02efc..bdacd760a6b 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -117,11 +117,11 @@ libc = { version = "0.2.149" } nix = { version = "0.29.0", default-features = false, features = ["aio", "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",