Crate webusb

Source
Expand description

§webusb

Implementation of the WebUSB API specification in Rust.

§Design

The crate is designed to be as close to the WebUSB specification as possible. There are two “backends” available, Native and WASM.

The native backend (libusb) supports parsing webusb descriptors. The wasm backend will make use of the runtime’s WebUSB implementation.

see usbd-webusb for WebUSB compatible firmware for the device.

§Usage

See webusb/examples for usage examples.

Re-exports§

Modules§

Structs§

Enums§

Type Aliases§