slint-ui / document-features

Extract documentation for the feature flags from comments in Cargo.toml
Apache License 2.0
171 stars 11 forks source link

0.2.2 breaks my builds #10

Closed epage closed 2 years ago

epage commented 2 years ago

My Cargo.toml is breaking on upgrade to 0.2.2

error: Parse error while parsing dependency pre-release-replacements : unbalanced source
  --> src/lib.rs:38:50
   |
38 | #![cfg_attr(feature = "document-features", doc = document_features::document_features!())]
   |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in the macro `document_features::document_features` (in Nightly builds, run with -Z macro-backtrace for more info)
ogoffart commented 2 years ago

Thanks for reporting the issue, and thanks @Muscraft for fixing it. (And sorry for breaking it) Version 0.2.3 released with the fix