| Crates.io | upc |
| lib.rs | upc |
| version | 0.8.1 |
| created_at | 2023-10-13 12:58:28.916876+00 |
| updated_at | 2025-07-28 12:44:11.068049+00 |
| description | USB packet channel (UPC): provides a reliable, packet-based transport over USB. |
| homepage | |
| repository | https://github.com/surban/upc |
| max_upload_size | |
| id | 1002301 |
| size | 115,518 |
This library provides a reliable, packet-based transport over a physical USB connection with an asynchronous API.
This crate provides the following main features:
host enables the native host-side part,web enables the web host-side part using WebUSB for device access and targeting WebAssembly,device enables the device-side part.To be useful, at least one of these features must be enabled.
Additionally, the feature trace-packets can be enabled to log USB packets at log level trace.
The minimum support Rust version (MSRV) is 1.85.
The native host-side part supports any operating system supported by nusb.
The device-side part requires Linux and a USB device controller (UDC).
upc is licensed under the Apache 2.0 license.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in upc by you, shall be licensed as Apache 2.0, without any additional terms or conditions.