Cargo Features
[dependencies]
amt-lib = { version = "0.2.1", default-features = false, features = ["ui-cli", "ui-cli-formatting", "ui-repl", "updater"] }
- default = ui-cli
-
The
ui-cli
feature is set by default wheneveramt-lib
is added without
somewhere in the dependency tree.default-features = false - ui-cli default ui-repl? = indicatif, inquire, tracing-indicatif
-
Affects
amt-lib::ui
,ui::cli
… - ui-cli-formatting
-
Affects
flags::CommonFlags.format
,flags::OutputFormat
… - ui-repl = shlex, ui-cli
-
Affects
cli::repl
… - updater = const_format, self_update
-
Affects
amt-lib::updater
,flags::CommonFlags.update
…
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.
- indicatif ui-cli
- inquire ui-cli
-
Enables inquire ^0.6.2
- shlex ui-repl?
- tracing-indicatif ui-cli
- self_update updater?
-
Enables self_update
Updater
- const_format updater?