Cargo Features

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 default-features = false somewhere in the dependency tree.

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

password default = zeroize

Affects prompts::password, theme::Theme.format_password_prompt, theme::Theme.format_password_prompt_selection


Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

tempfile editor
zeroize password
fuzzy-matcher fuzzy-select?