Cargo Features
[dependencies]
hidapi = { version = "2.6.3", default-features = false, features = ["linux-static-libusb", "linux-static-hidraw", "linux-shared-hidraw", "linux-native", "illumos-static-libusb", "macos-shared-device", "windows-native"] }
- default = illumos-static-libusb, linux-static-hidraw
-
These default features are set whenever
hidapi
is added without
somewhere in the dependency tree.default-features = false - linux-static-libusb
- linux-static-hidraw default
- linux-native
- illumos-static-libusb default
- windows-native
-
Enables Win32…DeviceAndDriverInstallation, Win32_Devices_HumanInterfaceDevice, Win32_Devices_Properties, Win32_Security, Win32_Storage_EnhancedStorage, Win32_Storage_FileSystem, Win32_System_IO, Win32_System_Threading and Win32_UI_Shell_PropertiesSystem of windows-sys ^0.48
HidApi has 8 features without comments.