Skip to content

Commit 533856c

Browse files
author
Dilawar Singh
committed
chore: use windows-sys
1 parent 71a452e commit 533856c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ strict = []
2020
crossbeam = "0.8"
2121
num_enum = "0.7.2"
2222
[target.'cfg(target_os = "windows")'.dependencies]
23-
windows = { version = "0.58", features = ["Win32_Devices_DeviceAndDriverInstallation", "Win32_Foundation"] }
23+
windows-sys = { version = "0.52", features = ["Win32_Devices_DeviceAndDriverInstallation", "Win32_Foundation"] }
2424
[target.'cfg(target_os = "linux")'.dependencies]
2525
udev = "0.8"
2626
[target.'cfg(target_os = "macos")'.dependencies]

src/windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use std::{
44
mem::{size_of, zeroed},
55
ptr::{null, null_mut},
66
};
7-
use windows::{
7+
use windows_sys::{
88
w,
99
Win32::Devices::DeviceAndDriverInstallation::{
1010
SetupDiDestroyDeviceInfoList, SetupDiEnumDeviceInfo, SetupDiGetClassDevsW,

0 commit comments

Comments
 (0)