Cargo Features

UPC has no features set by default.

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

Affects upc::host

device = usb-gadget

Affects upc::device

trace-packets

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rusb host?
usb-gadget device?