From 92ea14b485cdfa478843aae9ed8e3c2f91eae94a Mon Sep 17 00:00:00 2001 From: DeFiDude <59237470+DeFiDude@users.noreply.github.com> Date: Mon, 17 Aug 2026 01:42:44 -0600 Subject: [PATCH] release: raise unified MSRV to Rust 1.87 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 6 +++--- CHANGELOG.md | 2 +- Cargo.toml | 2 +- README.md | 2 +- RELEASING.md | 2 +- clippy.toml | 2 +- scripts/ci/check_source_release_contract.py | 6 +++--- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70a1326..78811ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,7 +74,7 @@ jobs: working-directory: rsLXMF msrv: - name: Rust 1.85 MSRV + name: Rust 1.87 MSRV runs-on: ubuntu-latest timeout-minutes: 30 steps: @@ -88,7 +88,7 @@ jobs: path: rsReticulum - uses: dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 # master with: - toolchain: 1.85.0 + toolchain: 1.87.0 components: clippy - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a87aeaf..ecbf4e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ env: PACKAGE_ROOT: rsLXMF LXMF_BINS: lxmd-rs RSLXMF_RSRETICULUM_VERSION: 1.1.0 - RSLXMF_RSRETICULUM_COMMIT: ccf2f11419c3824bfcceda7abf777772de783c60 + RSLXMF_RSRETICULUM_COMMIT: b927f26ca6bf5edf0e0e5f0a3ac78794a513bf60 jobs: verify: @@ -37,7 +37,7 @@ jobs: path: rsReticulum - uses: dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 # master with: - toolchain: 1.85.0 + toolchain: 1.87.0 - name: Verify release source and dependency working-directory: rsLXMF run: python3 scripts/ci/check_source_release_contract.py --release-tag "${RELEASE_TAG}" @@ -74,7 +74,7 @@ jobs: path: rsReticulum - uses: dtolnay/rust-toolchain@6c977a6ca4077a0ceb28ffbe03f59d46e9ac8772 # master with: - toolchain: 1.85.0 + toolchain: 1.87.0 - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2 with: workspaces: rsLXMF -> target diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f7f4a7..af6f242 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## Unreleased - Made source releases reproducible from an existing immutable component tag: - packages are non-publishable by default and expose Rust 1.85 metadata, + packages are non-publishable by default and expose Rust 1.87 metadata, release builds use the committed lockfile and exact dependency commits, actions are commit-pinned, and CI verifies the release-source contract. - Replaced temporary aspect-wide announce handlers in remote-control lookup diff --git a/Cargo.toml b/Cargo.toml index 13a305c..59d01cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ members = [ version = "1.1.0" edition = "2024" license = "AGPL-3.0-or-later" -rust-version = "1.85" +rust-version = "1.87" [workspace.dependencies] # Reticulum crates from a sibling rsReticulum checkout during development. diff --git a/README.md b/README.md index 476a7dc..12e6a4d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ **Rust LXMF messaging and propagation for Reticulum.** [![License: AGPL-3.0-or-later](https://img.shields.io/badge/license-AGPL--3.0--or--later-blue.svg)](LICENSE) -[![Rust 1.85+](https://img.shields.io/badge/rust-1.85%2B-orange.svg)](https://www.rust-lang.org) +[![Rust 1.87+](https://img.shields.io/badge/rust-1.87%2B-orange.svg)](https://www.rust-lang.org) [![Compatibility floor: LXMF 1.0.1](https://img.shields.io/badge/compatibility%20floor-LXMF%201.0.1-success.svg)](https://github.com/markqvist/LXMF) [![Current reference: LXMF 1.1.0](https://img.shields.io/badge/current%20reference-LXMF%201.1.0-blue.svg)](https://github.com/markqvist/LXMF) [![Status](https://img.shields.io/badge/status-experimental-yellow.svg)](#feature-status) diff --git a/RELEASING.md b/RELEASING.md index f2c90df..9bea368 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -20,7 +20,7 @@ Before creating a tag: The release workflow checks out the requested existing tag, verifies that the tag, manifest, changelog, dependency checkout, and release commit agree, and -builds with `--locked` on Rust 1.85.0. Release artifacts include this policy +builds with `--locked` on Rust 1.87.0. Release artifacts include this policy and the changelog alongside the README and license. All workspace packages are intentionally marked `publish = false`. Changing diff --git a/clippy.toml b/clippy.toml index 566161e..f783ce5 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1,2 +1,2 @@ # Keep Clippy suggestions aligned with the public MSRV in Cargo.toml. -msrv = "1.85" +msrv = "1.87" diff --git a/scripts/ci/check_source_release_contract.py b/scripts/ci/check_source_release_contract.py index 2fca825..4861c28 100644 --- a/scripts/ci/check_source_release_contract.py +++ b/scripts/ci/check_source_release_contract.py @@ -11,7 +11,7 @@ from pathlib import Path ROOT = Path(__file__).resolve().parents[2] -EXPECTED_RUST_VERSION = "1.85" +EXPECTED_RUST_VERSION = "1.87" SHA_PATTERN = re.compile(r"^[0-9a-f]{40}$") @@ -92,8 +92,8 @@ def check_workflow_actions() -> None: def check_release_workflow(reticulum_version: str) -> str: workflow = (ROOT / ".github/workflows/release.yml").read_text() - if not re.search(r"^\s*toolchain:\s*1\.85\.0\s*$", workflow, re.MULTILINE): - fail("release workflow does not select Rust 1.85.0") + if not re.search(r"^\s*toolchain:\s*1\.87\.0\s*$", workflow, re.MULTILINE): + fail("release workflow does not select Rust 1.87.0") if "ref: ${{ env.RELEASE_TAG }}" not in workflow: fail("release workflow does not check out RELEASE_TAG")