Cargo Features

[dependencies]
inquire = { version = "0.7.5", default-features = false, features = ["one-liners", "date", "editor", "fuzzy", "crossterm", "termion", "console"] }
default = crossterm, fuzzy, macros, one-liners

These default features are set whenever inquire is added without default-features = false somewhere in the dependency tree.

macros one-liners default
date = chrono

Affects formatter::DateFormatter, formatter::DEFAULT_DATE_FORMATTER, one_liners::prompt_date, render_config::RenderConfig.calendar, render_config::calendar, backend::date, validator::DateValidator

editor = tempfile

Affects render_config::RenderConfig.editor_prompt, backend::EditorBackend

fuzzy default = fuzzy-matcher

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.

crossterm default

Enables crossterm ^0.25

Affects terminal::crossterm

termion implicit feature

Enables termion ^2.0

termion:

A bindless library for manipulating terminals

Affects terminal::termion

console implicit feature

Enables console

console:

A terminal and console abstraction for Rust

Affects terminal::console

chrono date?
tempfile editor?
fuzzy-matcher fuzzy