diff --git a/Cargo.toml b/Cargo.toml index 9801140..9bdb9fe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ atomic-waker = "1.1.1" slab = "0.4.8" [target.'cfg(windows)'.dependencies.windows-sys] -version = "0.59" +version = "0.60" default-features = false features = [ "Win32_Foundation", diff --git a/src/windows_registry.rs b/src/windows_registry.rs index 66d112c..48b6f79 100644 --- a/src/windows_registry.rs +++ b/src/windows_registry.rs @@ -27,7 +27,7 @@ use async_lock::OnceCell; use slab::Slab; -use windows_sys::Win32::Foundation::BOOL; +use windows_sys::core::BOOL; use windows_sys::Win32::System::Console::{SetConsoleCtrlHandler, CTRL_C_EVENT}; use std::io::Result;