Adding hidapi_rusb library as a dependency

Run this command in a terminal, in your project's directory:

cargo add hidapi-rusb

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

hidapi-rusb = "1.3.3"

The hidapi_rusb library will be automatically available globally. Read the hidapi_rusb library documentation.

Back to the crate overview.