Skip to content

Commit dde8c59

Browse files
dpaolielloDetegr
authored andcommitted
Bump windows-sys to 0.60
1 parent 1dfec09 commit dde8c59

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ nix = { version = "0.30", default-features = false, features = ["signal"]}
2121
dispatch = "0.2"
2222

2323
[target.'cfg(windows)'.dependencies]
24-
windows-sys = { version = "0.59", features = ["Win32_Foundation", "Win32_System_Threading", "Win32_Security", "Win32_System_Console"] }
24+
windows-sys = { version = "0.60", features = ["Win32_Foundation", "Win32_System_Threading", "Win32_Security", "Win32_System_Console"] }
2525

2626
[target.'cfg(windows)'.dev-dependencies]
27-
windows-sys = { version = "0.59", features = ["Win32_Storage_FileSystem", "Win32_Foundation", "Win32_System_IO", "Win32_System_Console"] }
27+
windows-sys = { version = "0.60", features = ["Win32_Storage_FileSystem", "Win32_Foundation", "Win32_System_IO", "Win32_System_Console"] }
2828

2929
[features]
3030
termination = []

src/platform/windows/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99

1010
use std::io;
1111
use std::ptr;
12-
use windows_sys::Win32::Foundation::{CloseHandle, BOOL, HANDLE, WAIT_FAILED, WAIT_OBJECT_0};
12+
use windows_sys::core::BOOL;
13+
use windows_sys::Win32::Foundation::{CloseHandle, HANDLE, WAIT_FAILED, WAIT_OBJECT_0};
1314
use windows_sys::Win32::System::Console::SetConsoleCtrlHandler;
1415
use windows_sys::Win32::System::Threading::{
1516
CreateSemaphoreA, ReleaseSemaphore, WaitForSingleObject, INFINITE,

0 commit comments

Comments
 (0)