Cargo Features
[dependencies]
luxafor = { version = "0.2.2", default-features = false, features = ["usb", "webhook", "command-line"] }
- default = webhook
-
The
webhook
feature is set by default wheneverluxafor
is added without
somewhere in the dependency tree.default-features = false - 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](https://rust-lang.github.io/rfcs/3491-remove-implicit-features.html).
- hidapi usb?
-
Enables hidapi ^1.2.3
[feature-dependencies]
- pretty_env_logger command-line?
-
Enables pretty_env_logger ^0.4.0
- reqwest webhook
-
Enables reqwest ^0.10
- structopt command-line?