A Rust USB library which works on both native and WASM targets
Find a file
2024-02-01 00:26:55 -06:00
.cargo First code commit 2024-01-30 11:21:31 -06:00
src Added get_device_filter, made WASM check for previously paired devices 2024-02-01 00:26:55 -06:00
.appveyor.yml First code commit 2024-01-30 11:21:31 -06:00
.gitignore First code commit 2024-01-30 11:21:31 -06:00
.travis.yml First code commit 2024-01-30 11:21:31 -06:00
Cargo.toml Added get_device_filter, made WASM check for previously paired devices 2024-02-01 00:26:55 -06:00
README.md Update README.md 2024-01-31 15:29:19 -06:00

Cross USB

An attempt at a USB library which works seamlessly across native and WASM targets.

Note

Web USB only works in Chromium based browsers for now.

Dependencies

For native USB, the crate utilizies nusb, a pure rust library similar to the very popular libusb.

For WASM, this crate utilizes web-sys which gives access to browser API calls, and in this case is used to interact with WebUSB