Cargo Features

[dependencies]
liso = { version = "1.2.1", default-features = false, features = ["capture-stderr", "completion", "global", "history", "serde", "wrap"] }
default = completion, global, history, wrap

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

capture-stderr

Best-effort attempt to capture stderr and route it through liso. Not a supported feature. Experimental.

Enables errno, libc, and parking_lot

completion default

Tab-completion support.

global default

Global output() function and println!/wrapln! macros. No plumbing required.

Enables parking_lot

Affects liso::output

history default

History support.

serde

derive Serialize and Deserialize for Line, LineElement, Color, and Style

Enables serde, serde of bitflags

wrap default

wrapln() function.

Enables textwrap