Cargo Features
sourcegen-cli has no features set by default.
[dependencies]
sourcegen-cli = { version = "0.4.0", features = ["disable_normalize_doc_attributes"] }
- disable_normalize_doc_attributes
-
Disable normalizing doc comments (
#[doc = r" hello"]
) into///
. On nightly, one can makerustfmt
to do that vianormalize_doc_attributes
configuration parameter forrustfmt
, but on current stable this is not supported. So we support doing our own normalization by default. This feature is to disable that normalization