nusb/Cargo.toml
Kevin Mehall 54759b7dce 0.1.2
2023-12-05 22:31:02 -07:00

31 lines
1 KiB
TOML

[package]
name = "nusb"
version = "0.1.2"
description = "Cross-platform low-level access to USB devices in pure Rust"
categories = ["hardware-support"]
keywords = ["usb", "hardware"]
authors = ["Kevin Mehall <km@kevinmehall.net>"]
edition = "2021"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/kevinmehall/nusb"
[dependencies]
atomic-waker = "1.1.2"
futures-lite = "1.13.0"
log = "0.4.20"
once_cell = "1.18.0"
slab = "0.4.9"
[dev-dependencies]
env_logger = "0.10.0"
[target.'cfg(target_os="linux")'.dependencies]
rustix = { version = "0.38.17", features = ["fs", "event"] }
[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"] }
[target.'cfg(target_os="macos")'.dependencies]
core-foundation = "0.9.3"
core-foundation-sys = "0.8.4"
io-kit-sys = "0.4.0"