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:
parent
b79e0d9df3
commit
42a1069833
1 changed files with 72 additions and 1 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[toolchain]
|
||||
channel = "1.92"
|
||||
channel = "1.96"
|
||||
components = ["rustc", "rust-std", "cargo", "clippy", "rustfmt", "rust-docs"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue