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
somewhere in the dependency tree.default-features = false - 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 andprintln!
/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
- wrap default
-
wrapln()
function.Enables textwrap