diff --git a/examples/Cargo.toml b/examples/Cargo.toml index b35c587b6f3..ceb2a36a18e 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.42.0" +version = "0.45" [[example]] name = "chat" diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index df87cb68e55..e5f2d4e7d58 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -125,11 +125,11 @@ libc = { version = "0.2.42" } nix = { version = "0.24", default-features = false, features = ["fs", "socket"] } [target.'cfg(windows)'.dependencies.windows-sys] -version = "0.42.0" +version = "0.45" optional = true [target.'cfg(docsrs)'.dependencies.windows-sys] -version = "0.42.0" +version = "0.45" features = [ "Win32_Foundation", "Win32_Security_Authorization",