Skip to content

Commit b3cd018

Browse files
committed
Update windows-sys to 0.48
1 parent 99b9abc commit b3cd018

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@ default-features = false
3636
blocking = "1.0.0"
3737

3838
[target.'cfg(windows)'.dependencies.windows-sys]
39-
version = "0.45"
39+
version = "0.48"
4040
default-features = false
4141
features = [
4242
"Win32_Foundation",
4343
"Win32_System_Threading",
44-
"Win32_System_WindowsProgramming"
4544
]
4645

4746
[dev-dependencies]

src/lib.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,10 @@ impl Child {
154154
use std::sync::mpsc;
155155

156156
use windows_sys::Win32::{
157-
System::{
158-
Threading::{RegisterWaitForSingleObject, WT_EXECUTEINWAITTHREAD, WT_EXECUTEONLYONCE},
159-
WindowsProgramming::INFINITE,
160-
},
161157
Foundation::{BOOLEAN, HANDLE},
158+
System::Threading::{
159+
RegisterWaitForSingleObject, INFINITE, WT_EXECUTEINWAITTHREAD, WT_EXECUTEONLYONCE,
160+
},
162161
};
163162

164163
// This channel is used to simulate SIGCHLD on Windows.

0 commit comments

Comments
 (0)