A pest-based parser for Keep a Changelog formatted CHANGELOG.md files. See changelog.pest for the grammar.
The project includes a binary driver to parse a CHANGELOG file and print its debug-formatted structure. See TODOs for why I am doing this.
cargo run -- <path/to/CHANGELOG.md>The core logic is available as a library.
clog::models: Defines the core data structures (e.g.,Changelog,VersionEntry,ChangeType).clog::parser::parse_changelog: The main function, which takes a string slice (&str) and returns aResult<Changelog, ...>.
- Add CLI for validating and updating changelogs.
- Split changelog parsing to its own, separate library.