Cargo Features

[dependencies]
embassy-usb = { version = "0.1.0", default-features = false, features = ["defmt", "usbd-hid", "max-interface-count-1", "max-interface-count-3", "max-interface-count-4", "max-interface-count-6", "max-interface-count-8", "max-handler-count-2", "max-handler-count-3", "max-handler-count-4", "max-handler-count-6", "max-handler-count-8", "log"] }
default = usbd-hid

The usbd-hid feature is set by default whenever embassy-usb is added without default-features = false somewhere in the dependency tree.

defmt

Enables defmt, defmt of embassy-usb-driver

usbd-hid default

Enables ssmarshal and usbd-hid ^0.6.0

usbd-hid:

for HID

max-interface-count-1

BEGIN AUTOGENERATED CONFIG FEATURES
Generated by gen_config.py. DO NOT EDIT.

max-interface-count-2 max-interface-count-3
max-interface-count-4

Default

max-interface-count-5 max-interface-count-6
max-interface-count-7 max-interface-count-8
max-handler-count-1 max-handler-count-2
max-handler-count-3
max-handler-count-4

Default

max-handler-count-5 max-handler-count-6
max-handler-count-7 max-handler-count-8

Features from optional dependencies

END AUTOGENERATED CONFIG FEATURES

log implicit feature

Enables log

log:

A lightweight logging facade for Rust