Cargo Features
[dependencies]
mers_lib = { version = "0.9.18", default-features = false, features = ["parse", "run", "ecolor-term", "ecolor-html", "pretty-print"] }
- default = parse
-
The
parse
feature is set by default whenevermers_lib
is added without
somewhere in the dependency tree.default-features = false - parse default = run
-
for parsing and running mers code (for most situations: just enable parse)
Affects
errors::CheckErrorDisplay
,mers_lib::parsing
,mers_lib::prelude_compile
,parsed::as_type
,parsed::assign_to
,parsed::block
,parsed::chain
,parsed::custom_type
,parsed::function
,parsed::r#if
,parsed::include_mers
,parsed::init_to
,parsed::r#loop
,parsed::object
,parsed::r#try
,parsed::tuple
,parsed::value
,parsed::variable
… - run parse
-
Affects
run::as_type
,run::assign_to
,run::block
,run::chain
,run::custom_type
,run::function
,run::r#if
,run::r#loop
,run::object
,run::r#try
,run::tuple
,run::value
,run::variable
… - ecolor-term
-
color features are used when formatting error messages.
Enables colored
Affects
themes::TermDefaultTheme
,pretty_print::pretty_print
,pretty_print::DefaultTheme
… - ecolor-html
-
Enables html-escape
Affects
themes::HtmlDefaultTheme
,pretty_print::HtmlDefaultTheme
… - pretty-print
-
Affects
mers_lib::pretty_print
…