Cargo Features
[dependencies]
dialoguer = { version = "0.11.0", default-features = false, features = ["editor", "fuzzy-select", "history", "password", "completion"] }
- default = editor, password
-
These default features are set whenever
dialoguer
is added without
somewhere in the dependency tree.default-features = false - editor default = tempfile
- fuzzy-select = fuzzy-matcher
-
Affects
prompts::fuzzy_select
,colorful::ColorfulTheme.fuzzy_cursor_style
,colorful::ColorfulTheme.fuzzy_match_highlight_style
,theme::Theme.format_fuzzy_select_prompt_item
,theme::Theme.format_fuzzy_select_prompt
… - history
- password default = zeroize
-
Affects
prompts::password
,theme::Theme.format_password_prompt
,theme::Theme.format_password_prompt_selection
… - completion
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.