| 1 |
[package] |
| 2 |
name = "nusb" |
| 3 |
version = "0.1.13" |
| 4 |
description = "Cross-platform low-level access to USB devices in pure Rust" |
| 5 |
categories = ["hardware-support"] |
| 6 |
keywords = ["usb", "hardware"] |
| 7 |
authors = ["Kevin Mehall <[email protected]>"] |
| 8 |
edition = "2021" |
| 9 |
license = "Apache-2.0 OR MIT" |
| 10 |
repository = "https://github.com/kevinmehall/nusb" |
| 11 |
rust-version = "1.74" |
| 12 |
|
| 13 |
[dependencies] |
| 14 |
atomic-waker = "1.1.2" |
| 15 |
futures-core = "0.3.29" |
| 16 |
log = "0.4.20" |
| 17 |
once_cell = "1.18.0" |
| 18 |
slab = "0.4.9" |
| 19 |
|
| 20 |
[dev-dependencies] |
| 21 |
env_logger = "0.10.0" |
| 22 |
futures-lite = "1.13.0" |
| 23 |
|
| 24 |
[target.'cfg(any(target_os="linux", target_os="android"))'.dependencies] |
| 25 |
rustix = { version = "0.38.17", features = ["fs", "event", "net"] } |
| 26 |
libc = "0.2.155" |
| 27 |
|
| 28 |
[target.'cfg(target_os="windows")'.dependencies] |
| 29 |
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"] } |
| 30 |
|
| 31 |
[target.'cfg(target_os="macos")'.dependencies] |
| 32 |
core-foundation = "0.9.3" |
| 33 |
core-foundation-sys = "0.8.4" |
| 34 |
io-kit-sys = "0.4.0" |
| 35 |
|
| 36 |
[lints.rust] |
| 37 |
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } |