Cargo Features

[dependencies]
nxtusb = { version = "0.2.0", default-features = false, features = ["examples", "strum", "usb", "bluetooth"] }
default = bluetooth, usb

These default features are set whenever nxtusb is added without default-features = false somewhere in the dependency tree.

examples = strum

Enables eframe ^0.24

required for gui

and gilrs ^0.10 and tracing-subscriber

gilrs:

required for gamepad

strum examples?

Enables strum ^0.25 and strum_macros ^0.25

usb default

Enables rusb

USB support

Affects socket::usb

bluetooth default

Enables bluer ^0.16

Bluetooth support

and rt of tokio

used for all examples

Affects socket::bluetooth