Cargo Features

Cursive-core has no features set by default.

[dependencies]
cursive_core = { version = "0.4.6", features = ["doc-cfg", "builder", "markdown", "ansi", "toml"] }
doc-cfg

Add doc-centric features

builder

Enable building views from configs

Enables inventory, builder of cursive-macros

markdown

Enables a markdown-to-styled string parser

Enables pulldown-cmark ^0.11

ansi

Enables an ansi-to-styled string parser

Enables ansi-parser

Features from optional dependencies

toml implicit feature

Affects theme::load_theme_file, theme::load_toml