A Rust USB library which works on both native and WASM targets
Find a file
2024-02-08 02:48:06 -06:00
.cargo Updated web-sys and wasm-bindgen, added UsbDevice.forget() 2024-02-07 13:21:55 -06:00
src Updated web-sys and wasm-bindgen, added UsbDevice.forget() 2024-02-07 13:21:55 -06:00
.gitignore Updated examples to work, properly imported get_device() to root 2024-02-02 00:16:50 -06:00
Cargo.toml Updated version, updated libraries 2024-02-08 02:48:06 -06:00
LICENSE Create LICENSE 2024-02-05 03:45:26 -06:00
README.md Update README.md 2024-02-02 02:40:10 -06:00

Cross USB

A USB library which works seamlessly across most native and WASM targets.

Crates.io

Documentation


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