linux: use ioctl numbers from linux_raw_sys

This commit is contained in:
Kevin Mehall 2025-03-07 22:43:22 -07:00
parent 0e145f89a6
commit f0a2e8c5a7
2 changed files with 28 additions and 56 deletions

View file

@ -23,6 +23,7 @@ futures-lite = "1.13.0"
[target.'cfg(any(target_os="linux", target_os="android"))'.dependencies]
rustix = { version = "1.0.1", features = ["fs", "event", "net"] }
linux-raw-sys = { version = "0.9.2", features = ["ioctl"] }
[target.'cfg(target_os="windows")'.dependencies]
windows-sys = { version = "0.59.0", features = ["Win32_Devices_Usb", "Win32_Devices_DeviceAndDriverInstallation", "Win32_Foundation", "Win32_Devices_Properties", "Win32_Storage_FileSystem", "Win32_Security", "Win32_System_IO", "Win32_System_Registry", "Win32_System_Com"] }