diff --git a/examples/Cargo.toml b/examples/Cargo.toml index b35c587b6..ceb2a36a1 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 fcf1bea4b..0e96ccb7c 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -125,11 +125,11 @@ libc = { version = "0.2.42" } nix = { version = "0.26", 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",