cargo-semver-checks reached 40,000 downloads and 30 semver lints by end of 2022. The tool uses a declarative query approach powered by the Trustfall query engine, making new lints quick to write and resilient to rustdoc JSON format changes. Looking ahead to 2023, the author outlines three priorities: proactively testing against popular crates.io packages to catch false-positives, implementing rustdoc caching to speed up CI runs, and adding official support for semver-checking pull requests with a GitHub Action integration. The long-term goal is merging cargo-semver-checks into cargo itself.

8m read timeFrom predr.ag
Post cover image
Table of contents
2022: Rust + semver - tedium = 💖Looking ahead to 2023Onwards!