Cargo Features

[dependencies]
luxafor = { version = "0.3.0", default-features = false, features = ["usb", "webhook", "command-line"] }
default = webhook

The webhook feature is set by default whenever luxafor is added without default-features = false somewhere in the dependency tree.

usb command-line? = hidapi

Affects luxafor::usb_hid

webhook default command-line? = reqwest

Affects luxafor::webhook

command-line = pretty_env_logger, structopt, usb, webhook

Required by the lux binary

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.

hidapi usb?

Enables hidapi

[feature-dependencies]

pretty_env_logger command-line?
reqwest webhook
structopt command-line?