Cargo Features

[dependencies]
requestty = { version = "0.5.0", default-features = false, features = ["crossterm", "termion", "macros", "smallvec"] }
default = crossterm, smallvec

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

crossterm default

Enables crossterm of requestty-ui

Affects requestty::prompt, requestty::prompt_one

termion

Enables termion of requestty-ui

Affects requestty::prompt, requestty::prompt_one

macros = macro

Hack to get around trybuild not considering 'optional = true' as features

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.

macro macros?

Enables requestty-macro

smallvec default

Affects question::Completions