Cargo Features
[dependencies]
stylish = { version = "0.1.0", default-features = false, features = ["std", "alloc", "macros", "ansi", "html", "plain"] }
- default = macros, std
-
These default features are set whenever
stylishis added withoutsomewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of optional stylish-ansi, stylish-core, optional stylish-html, and optional stylish-plain
Affects
stylish::io… - alloc std
-
Enables alloc of optional stylish-ansi, stylish-core, optional stylish-html, and optional stylish-plain
- macros default
-
Enables stylish-macros, macros of optional stylish-plain, macros of stylish-core, optional stylish-ansi, and optional stylish-html
- ansi
-
Enables stylish-ansi
Affects
stylish::io.ansi,stylish::ansi,stylish::ansi… - html
-
Enables stylish-html
Affects
stylish::html,stylish::html… - plain
-
Enables stylish-plain
Affects
stylish::io.plain,stylish::plain,stylish::plain…