Cargo Features

UPC has no features set by default.

[dependencies]
upc = { version = "0.7.1", features = ["host", "device", "web", "trace-packets"] }
host

Enables rusb, rt of tokio

Affects upc::host

device

Enables usb-gadget and rt of tokio

tokio:

Includes basic task execution capabilities

Affects upc::device

web

Enables js-sys, wasm-bindgen, wasm-bindgen-futures, and webusb-web

Affects upc::host

trace-packets