A USB library which works seamlessly across most native and WASM targets.
Note
Web USB only works in Chromium based browsers for now.
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
- Add choice for native backend between
libusb
wrapper and pure rustnusb
- Allow platform-specific operations if the user requires them
- Hot plug support... requires either using
libusb
as an optional backend or fornusb
to implement it