deps: update windows-sys to 0.48 (#5591)

This commit is contained in:
Taiki Endo
2023-04-02 09:31:27 +02:00
committed by GitHub
parent 3c403d6ee8
commit 88445e762c
3 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ once_cell = "1.5.2"
rand = "0.8.3"
[target.'cfg(windows)'.dev-dependencies.windows-sys]
version = "0.45"
version = "0.48"
[[example]]
name = "chat"
+2 -2
View File
@@ -124,11 +124,11 @@ libc = { version = "0.2.42" }
nix = { version = "0.26", default-features = false, features = ["fs", "socket"] }
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.45"
version = "0.48"
optional = true
[target.'cfg(docsrs)'.dependencies.windows-sys]
version = "0.45"
version = "0.48"
features = [
"Win32_Foundation",
"Win32_Security_Authorization",
+2 -3
View File
@@ -36,10 +36,9 @@ use windows_sys::{
DuplicateHandle, BOOLEAN, DUPLICATE_SAME_ACCESS, HANDLE, INVALID_HANDLE_VALUE,
},
Win32::System::Threading::{
GetCurrentProcess, RegisterWaitForSingleObject, UnregisterWaitEx, WT_EXECUTEINWAITTHREAD,
WT_EXECUTEONLYONCE,
GetCurrentProcess, RegisterWaitForSingleObject, UnregisterWaitEx, INFINITE,
WT_EXECUTEINWAITTHREAD, WT_EXECUTEONLYONCE,
},
Win32::System::WindowsProgramming::INFINITE,
};
#[must_use = "futures do nothing unless polled"]