# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "hidapi" version = "2.6.3" authors = [ "Roland Ruckerbauer ", "Osspial ", "Artyom Pavlov ", "mberndt123", "niklasad1", "Stefan Kerkmann", ] build = "build.rs" links = "hidapi" include = [ "README.md", "LICENSE.txt", "build.rs", "/src", "/etc/hidapi/CMakeLists.txt", "/etc/hidapi/LICENSE*", "/etc/hidapi/VERSION", "/etc/hidapi/hidapi", "/etc/hidapi/libusb", "/etc/hidapi/src", "/etc/hidapi/udev", "/etc/hidapi/linux/CMakeLists.txt", "/etc/hidapi/linux/*.c", "/etc/hidapi/linux/*.h", "/etc/hidapi/mac/CMakeLists.txt", "/etc/hidapi/mac/*.c", "/etc/hidapi/mac/*.h", "/etc/hidapi/windows/CMakeLists.txt", "/etc/hidapi/windows/*.c", "/etc/hidapi/windows/*.h", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust-y wrapper around hidapi" documentation = "https://docs.rs/hidapi" readme = "README.md" keywords = [ "hid", "api", "usb", "binding", "wrapper", ] license = "MIT" repository = "https://github.com/ruabmbua/hidapi-rs" [package.metadata.docs.rs] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "hidapi" path = "src/lib.rs" [dependencies.cfg-if] version = "1" [dependencies.libc] version = "0.2" [build-dependencies.cc] version = "1.0" [build-dependencies.pkg-config] version = "0.3" [features] default = [ "linux-static-hidraw", "illumos-static-libusb", ] illumos-shared-libusb = [] illumos-static-libusb = [] linux-native = [ "dep:udev", "dep:nix", ] linux-shared-hidraw = [] linux-shared-libusb = [] linux-static-hidraw = [] linux-static-libusb = [] macos-shared-device = [] windows-native = [ "windows-sys/Win32_Devices_DeviceAndDriverInstallation", "windows-sys/Win32_Devices_HumanInterfaceDevice", "windows-sys/Win32_Devices_Properties", "windows-sys/Win32_Security", "windows-sys/Win32_Storage_EnhancedStorage", "windows-sys/Win32_Storage_FileSystem", "windows-sys/Win32_System_IO", "windows-sys/Win32_System_Threading", "windows-sys/Win32_UI_Shell_PropertiesSystem", ] [target.'cfg(target_os = "linux")'.dependencies.nix] version = "0.27" features = [ "fs", "ioctl", "poll", ] optional = true [target.'cfg(target_os = "linux")'.dependencies.udev] version = "0.8" optional = true [target."cfg(windows)".dependencies.windows-sys] version = "0.48" features = ["Win32_Foundation"]