Bump cargo-public-api to 0.50.1 in CI
What changed, and why it matters
This is a routine update to a CI (Continuous Integration) tool version. It changes the version of cargo-public-api used in automated checks from 0.49.0 to 0.50.1, because the older version does not support a Rust language feature called macro_export that the project now uses. There is no security relevance.
No security action needed. This is a normal dependency bump for CI tooling compatibility.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit modifies .github/workflows/rust.yml to install cargo-public-api 0.50.1 instead of 0.49.0 during the API checking CI job. Version 0.49.0 lacks support for macro_export, causing CI failures when checking the new consensus_encoding API. This is a build/tooling compatibility fix with no code or cryptographic changes.
Changed components
.github/workflows/rust.ymlCI API checking jobInspect captured patch +1 / −1
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 7323aed0..fb704b40 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -327,7 +327,7 @@ jobs:
with:
toolchain: ${{ needs.Prepare.outputs.nightly_version }}
- name: "Install cargo-public-api"
- run: cargo install --locked cargo-public-api --version 0.49.0
+ run: cargo install --locked cargo-public-api --version 0.50.1
- name: "Set dependencies"
run: cp Cargo-${{ matrix.dep }}.lock Cargo.lock
- name: "Run API checker script"
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.