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

fix issue with calling `get_balanced` in the wrong table #11

Closed Muscraft closed 2 years ago

Muscraft commented 2 years ago

This fixes an issue where get_balanced would be called in a table that isn't [features] or a dependency table.

To reproduce place below in a Cargo.toml above [features] and try building the docs

[package.metadata.release]
pre-release-replacements = [
  {test="## "},
]

close #10

ogoffart commented 2 years ago

Thanks for the patch!