Cargo Features
[dependencies]
tentacli = { version = "10.0.0", default-features = false, features = ["ui", "console"] }
- default = ui
-
The
ui
feature is set by default whenevertentacli
is added without
somewhere in the dependency tree.default-features = false - ui default
-
Enables tui and event-stream of crossterm
crossterm:
Enables async events
Affects
features::ui
… - console = colored
-
Affects
features::console
…
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.