What changed, and why it matters
This commit is a routine cleanup of build configuration files. It removes two text files that previously stored Rust compiler version numbers and updates one CI workflow to read the same version information from project metadata instead. There is no security relevance.
No security action needed. Reviewers may verify that the new `cargo metadata` query returns the expected stable toolchain version in CI.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit deletes nightly-version and stable-version files and changes .github/workflows/semver-checks.yml to obtain the stable toolchain version via cargo metadata --format-version 1 | jq -r '.metadata.rbmt.toolchains.stable' rather than cat ./stable-version. This is a refactor of the project’s Rust toolchain management after moving to rbmt (rust-bitcoin maintainer tools). No source code, cryptographic logic, parsing, network handling, or API behavior is changed.
Changed components
.github/workflows/semver-checks.ymlnightly-versionstable-versionInspect captured patch +2 / −4
diff --git a/.github/workflows/semver-checks.yml b/.github/workflows/semver-checks.yml
index 82d3a761..70a05167 100644
--- a/.github/workflows/semver-checks.yml
+++ b/.github/workflows/semver-checks.yml
@@ -23,7 +23,7 @@ jobs:
uses: dtolnay/rust-toolchain@5d458579430fc14a04a08a1e7d3694f545e91ce6 # stable
- name: "Select stable-version"
run: |
- rustup default $(cat ./stable-version)
+ rustup default $(cargo metadata --format-version 1 | jq -r '.metadata.rbmt.toolchains.stable')
- name: "Install cargo-binstall"
uses: cargo-bins/cargo-binstall@b3f755e95653da9a2d25b99154edfdbd5b356d0a # v1.15.10
- name: "Binstall pinned cargo-semver-checks"
@@ -65,7 +65,7 @@ jobs:
uses: dtolnay/rust-toolchain@5d458579430fc14a04a08a1e7d3694f545e91ce6 # stable
- name: "Select stable-version"
run: |
- rustup default $(cat ./stable-version)
+ rustup default $(cargo metadata --format-version 1 | jq -r '.metadata.rbmt.toolchains.stable')
- name: "Install cargo-binstall"
uses: cargo-bins/cargo-binstall@b3f755e95653da9a2d25b99154edfdbd5b356d0a # v1.15.10
- name: "Binstall pinned cargo-semver-checks"
diff --git a/nightly-version b/nightly-version
deleted file mode 100644
index 7690c28c..00000000
--- a/nightly-version
+++ /dev/null
@@ -1 +0,0 @@
-nightly-2026-03-27
diff --git a/stable-version b/stable-version
deleted file mode 100644
index 8db4a57b..00000000
--- a/stable-version
+++ /dev/null
@@ -1 +0,0 @@
-1.94.0
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.