ci: add cargo-public-api check for breaking API changes (#924)

* chore: bump Rust toolchain to 1.96

* ci: add cargo-public-api breaking-change check

Adds a release-type-aware `cargo-public-api` diff job that fails on
changed/removed public items unless the PR's commits mark a breaking
(major) release. This catches source-breaking API changes that
cargo-semver-checks cannot yet detect (e.g. function return-type or
field-type changes).
This commit is contained in:
Dale Seo 2026-06-24 15:19:04 -04:00 • committed by GitHub
commit 42a1069833
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,3 +1,3 @@
[toolchain]
channel = "1.92"
channel = "1.96"
components = ["rustc", "rust-std", "cargo", "clippy", "rustfmt", "rust-docs"]