upc

Crates.ioupc
lib.rsupc
version
sourcesrc
created_at2023-10-13 12:58:28.916876+00
updated_at2025-02-19 09:40:39.065415+00
descriptionUSB packet channel (UPC): provides a reliable, packet-based transport over USB.
homepage
repositoryhttps://github.com/surban/upc
max_upload_size
id1002301
Cargo.toml error:TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Sebastian Urban (surban)

documentation

README

USB packet channel (UPC)

crates.io page docs.rs page Apache 2.0 license

This library provides a reliable, packet-based transport over a physical USB connection with an asynchronous API.

Features

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.

Requirements

The minimum support Rust version (MSRV) is 1.83.

The native host-side part supports any operating system supported by libusb.

The device-side part requires Linux and a USB device controller (UDC).

License

upc is licensed under the Apache 2.0 license.

Contribution

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.

Commit count: 40

cargo fmt