Cargo Features
Scarlet has no features set by default.
[dependencies]
scarlet = { version = "1.2.0", features = ["terminal"] }
- default
-
By default, don't include terminal support so it's WASM-compatible
- terminal = termion
-
For terminal support (e.g., printing colors to a terminal)
Affects
color::Color.write_colored_str
,color::Color.write_color
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- termion terminal?
-
Enables termion ^2.0.1