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 whenever rstml is added without default-features = false somewhere in the dependency tree.

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 set ParserConfig::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