linux: hotplug
This commit is contained in:
parent
cc0d44a68f
commit
cecdf88c86
4 changed files with 219 additions and 23 deletions
|
|
@ -22,7 +22,7 @@ env_logger = "0.10.0"
|
|||
futures-lite = "1.13.0"
|
||||
|
||||
[target.'cfg(target_os="linux")'.dependencies]
|
||||
rustix = { version = "0.38.17", features = ["fs", "event"] }
|
||||
rustix = { version = "0.38.17", features = ["fs", "event", "net"] }
|
||||
|
||||
[target.'cfg(target_os="windows")'.dependencies]
|
||||
windows-sys = { version = "0.48.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"] }
|
||||
|
|
@ -34,3 +34,6 @@ io-kit-sys = "0.4.0"
|
|||
|
||||
[lints.rust]
|
||||
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }
|
||||
|
||||
[patch.crates-io]
|
||||
rustix = { git = "https://github.com/kevinmehall/rustix.git", rev = "9b432db1b4ed6cd8ec58fd88815a785a03300ebe" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue