Cargo Features

cursive = { version = "0.20.0", default-features = false, features = ["doc-cfg", "blt-backend", "ncurses-backend", "pancurses-backend", "termion-backend", "crossterm-backend", "markdown", "ansi", "unstable_scroll", "toml"] }

Enable doc_cfg, a nightly-only doc feature.

Enables doc-cfg of cursive_core

default = ncurses-backend

The ncurses-backend feature is set by default whenever cursive is added without default-features = false somewhere in the dependency tree.

blt-backend = bear-lib-terminal

Affects cursive_ext::CursiveExt.run_blt, cursive::blt

ncurses-backend default = maplit, ncurses, term_size

Affects cursive_ext::CursiveExt.run_ncurses, cursive::ncurses

pancurses-backend = maplit, pancurses, term_size

Affects cursive_ext::CursiveExt.run_pancurses, cursive::pancurses

termion-backend = termion

Affects cursive_ext::CursiveExt.run_termion, cursive::termion

crossterm-backend = crossterm

Affects cursive_ext::CursiveExt.run_crossterm, cursive::crossterm


Enables markdown of cursive_core


Enables ansi of cursive_core


Deprecated feature, remove in next version


Enables toml of cursive_core

Features from optional dependencies

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

term_size ncurses-backend pancurses-backend?
maplit ncurses-backend pancurses-backend?
bear-lib-terminal blt-backend?
crossterm crossterm-backend?

Enables crossterm ^0.25

ncurses ncurses-backend
pancurses pancurses-backend?
termion termion-backend?

Enables termion ^1