Skip to content

Commit

Permalink
chore: use windows-sys
Browse files Browse the repository at this point in the history
  • Loading branch information
dilawar committed Jul 8, 2024
1 parent 71a452e commit 533856c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ strict = []
crossbeam = "0.8"
num_enum = "0.7.2"
[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.58", features = ["Win32_Devices_DeviceAndDriverInstallation", "Win32_Foundation"] }
windows-sys = { version = "0.52", features = ["Win32_Devices_DeviceAndDriverInstallation", "Win32_Foundation"] }
[target.'cfg(target_os = "linux")'.dependencies]
udev = "0.8"
[target.'cfg(target_os = "macos")'.dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::{
mem::{size_of, zeroed},
ptr::{null, null_mut},
};
use windows::{
use windows_sys::{
w,
Win32::Devices::DeviceAndDriverInstallation::{
SetupDiDestroyDeviceInfoList, SetupDiEnumDeviceInfo, SetupDiGetClassDevsW,
Expand Down

0 comments on commit 533856c

Please sign in to comment.