mirror of
https://github.com/G2-Games/cross-usb.git
synced 2025-04-19 13:22:53 -05:00
9 lines
479 B
Markdown
9 lines
479 B
Markdown
# Cross USB
|
|
|
|
An attempt at a USB library which works seamlessly across native and WASM targets.
|
|
|
|
## Dependencies
|
|
|
|
For native USB, the crate utilizies [nusb](https://github.com/kevinmehall/nusb), a pure rust library similar to the very popular libusb.
|
|
|
|
For WASM, this crate utilizes [web-sys](https://crates.io/crates/web-sys) which gives access to browser API calls, and in this case is used to interact with [WebUSB](https://developer.mozilla.org/en-US/docs/Web/API/WebUSB_API)
|