[package] authors = ["Tim Fish "] description = "A cross platform library that returns details of currently connected USB devices" edition = "2018" license = "MIT" name = "usb_enumeration" readme = "README.md" repository = "https://github.com/meatysolutions/usb_enumeration" version = "0.2.1" [lib] crate-type = ["lib"] path = "src/lib.rs" [features] # Used to fail build on warnings strict = [] [dependencies] crossbeam = "0.8" [target.'cfg(target_os = "windows")'.dependencies] winapi = {version = "0.3", features = ["setupapi", "impl-default"]} [target.'cfg(target_os = "linux")'.dependencies] udev = "0.5" [target.'cfg(target_os = "macos")'.dependencies] core-foundation = "0.6" io-kit-sys = "0.1.0" mach = "0.3.2"