Cargo Features

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

Enable doc_cfg, a nightly-only doc feature.

Enables doc-cfg of cursive_core

builder

Enable the builder module to build views from config blobs.

Enables builder of cursive_core

blt-backend

Enable the BearLibTerminal backend. Requires BLT to be installed separately.

Enables bear-lib-terminal

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

default = crossterm-backend

Defaults to crossterm, supported on windows, linux and macos.

ncurses-backend

Enable the ncurses backend.

Enables maplit and ncurses

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

pancurses-backend

Enable the pancurses backend.

Enables maplit and pancurses

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

termion-backend

Enable the termion backend.

Enables termion

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

crossterm-backend default

Enable the crossterm backend.

Enables crossterm

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

markdown

Allows parsing StyledString from markdown text.

Enables markdown of cursive_core

ansi

Allows parsing StyledString from ANSI-marked up text.

Enables ansi of cursive_core

toml

Allows parsing themes from toml.

Enables toml of cursive_core