Cargo Features

usb-gadget has no features set by default.

[dependencies]
usb-gadget = { version = "1.1.1", features = ["cli", "tokio"] }
cli

Enables clap, clap_complete, env_logger, serde, and toml

Required by the binary

Features from optional dependencies

tokio implicit feature

Enables tokio

tokio:

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications