webern / cargo-readme

Generate README.md from docstrings
Other
355 stars 57 forks source link

Support `document-features` #74

Open virtualritz opened 2 years ago

virtualritz commented 2 years ago

document-features is a crate that, like cargo-readme, tries to minimize copypasta for developers.

In this case, comments in the [features] section of a crate's Cargo.toml get used to populate a section in the docs; via a Rust macro. This is of ignored by cargo-readme as it would require to run on a source file after macro expansion.