usbd-webusb
WebUSB implementation for usb-device.
WebUSB is a proposed JavaScript API standard for securely providing access to USB devices from web pages.
Example
A full example requires the use of a hardware driver, but the hardware independent part looks like that:
use *;
// Creates a WebUSB class instance with URL "https://google.com"
// You can also provide a custom URL with scheme url_scheme::CUSTOM
let wusb = new;
let mut usb_dev = new
.product
.build;
loop