bump windows crate 0.46 -> 0.48 in workspace
This commit is contained in:
parent
7e7483d26e
commit
3c03cce341
10 changed files with 20 additions and 29 deletions
|
@ -27,12 +27,11 @@ serde = { version = "1.0.125", features = [ "derive" ] }
|
|||
serde_json = "1.0.59"
|
||||
|
||||
[target.'cfg(windows)'.dependencies.windows]
|
||||
version = "0.46.0"
|
||||
version = "0.48.0"
|
||||
features = [
|
||||
"Win32_Foundation",
|
||||
"Win32_Security",
|
||||
"Win32_System_Threading",
|
||||
"Win32_System_WindowsProgramming",
|
||||
]
|
||||
|
||||
[features]
|
||||
|
|
|
@ -19,8 +19,7 @@ pub fn acquire_global_lock(name: &str) -> Box<dyn Any> {
|
|||
use windows::{
|
||||
core::PCSTR,
|
||||
Win32::Foundation::{CloseHandle, HANDLE, WAIT_ABANDONED, WAIT_OBJECT_0},
|
||||
Win32::System::Threading::{CreateMutexA, ReleaseMutex, WaitForSingleObject},
|
||||
Win32::System::WindowsProgramming::INFINITE,
|
||||
Win32::System::Threading::{CreateMutexA, ReleaseMutex, WaitForSingleObject, INFINITE},
|
||||
};
|
||||
|
||||
struct Handle(HANDLE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue