Cargo Features
[dependencies]
rstml = { version = "0.12.1", default-features = false, features = ["rawtext-stable-hack", "rawtext-stable-hack-module", "colors"] }
- default = colors
-
The
colorsfeature is set by default wheneverrstmlis added withoutsomewhere in the dependency tree.default-features = false - rawtext-stable-hack = rawtext-stable-hack-module
-
Hack that parse input two times, using
proc-macro2::fallbackto 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
UnquotedTexton stable but your macro is called from other one.Affects
rstml::rawtext_stable_hack… - colors default
-
Enables colors of proc-macro2-diagnostics