mirror of
https://github.com/G2-Games/cross-usb.git
synced 2025-04-19 05:12:53 -05:00
A Rust USB library which works on both native and WASM targets
.cargo | ||
src | ||
.gitignore | ||
Cargo.toml | ||
README.md |
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