Cargo Features
[dependencies]
lpc55 = { version = "0.2.1", default-features = false, features = ["cli", "http", "with-device"] }
- default = cli
-
The
cli
feature is set by default wheneverlpc55
is added without
somewhere in the dependency tree.default-features = false - cli default = clap, clap-verbosity-flag, http, indicatif
- http cli = tiny_http
-
Affects
lpc55::http
… - with-device
-
Enable tests that require a mcuboot device attached
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.
- clap cli
- clap-verbosity-flag cli
-
Enables clap-verbosity-flag ^2
- tiny_http http?
- indicatif cli
-
Enables indicatif
progressbar