Using anyhow to handle errors in my Rust changelog builder

Let&#x27;s fix our messy error handling in our Rust towncrier clone by using the anyhow library and adding context() calls to describe what went wrong. Can we match the output of towncrier in different circumstances? Do we actually want to match it exactly, or can we do better? You can find the code at https:&#x2F;&#x2F;codeberg.org&#x2F;andybalaam&#x2F;changelog-builder Follow me on mastodon:…