Cargo Features
[dependencies]
rstml = { version = "0.12.0", default-features = false, features = ["rawtext-stable-hack", "rawtext-stable-hack-module", "colors"] }
- default = colors
-
The
colors
feature is set by default wheneverrstml
is added without
somewhere in the dependency tree.default-features = false - rawtext-stable-hack = rawtext-stable-hack-module
-
Hack that parse input two times, using
proc-macro2::fallback
to recover spaces, and persist original spans. It has no penalty in nightly, but in stable it parses input two times. In order to use this feature, one should also setParserConfig::macro_call_pattern
. - rawtext-stable-hack-module rawtext-stable-hack?
-
Export inters of rawtext_stable_hack. It is usefull if you need support of
UnquotedText
on stable but your macro is called from other one.Affects
rstml::rawtext_stable_hack
… - colors default
-
Enables colors of proc-macro2-diagnostics