From d71abbb811d4a94d9770c352bfa89e999c05f73d Mon Sep 17 00:00:00 2001 From: Kenneth Pernyer Date: Sun, 7 Jun 2026 22:38:36 +0200 Subject: [PATCH] chore(toolchain): bump rust-version + pin toolchain to 1.96.0 Workspace-wide alignment on Rust 1.96.0 + edition 2024. - Cargo.toml: rust-version "1.94.0" -> "1.96.0" - rust-toolchain.toml: created, channel "1.96.0" - .github/workflows/*.yml: RUST_VERSION + toolchain hardcodes -> "1.96.0" - README.md / CLAUDE.md MSRV references -> 1.96.0 - .github/ISSUE_TEMPLATE/* Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/coverage.yml | 2 +- .github/workflows/security.yml | 2 +- .github/workflows/stability.yml | 2 +- CLAUDE.md | 2 +- Cargo.toml | 2 +- README.md | 2 +- rust-toolchain.toml | 7 +++++++ 9 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 rust-toolchain.toml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index a87386f..4e9ffc2 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -20,7 +20,7 @@ A clear and concise description of what you expected to happen. ## Environment - OS: [e.g., macOS, Linux] -- Rust version: [e.g., 1.94.0] +- Rust version: [e.g., 1.96.0] - mnemos version: [e.g., 1.0.0] - Features enabled: [e.g., "cli,grpc"] - Embedding backend: [e.g., hash, OpenAI] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2de3a5..406798a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: env: CARGO_TERM_COLOR: always - RUST_VERSION: "1.94.0" + RUST_VERSION: "1.96.0" jobs: check: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 451bf58..541d4f0 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -9,7 +9,7 @@ on: env: CARGO_TERM_COLOR: always - RUST_VERSION: "1.94.0" + RUST_VERSION: "1.96.0" # Coverage floor (Extension Release Checklist §4) COVERAGE_FLOOR: "80" diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index cb2386f..93e2f0b 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v6 - uses: dtolnay/rust-toolchain@stable with: - toolchain: "1.94.0" + toolchain: "1.96.0" - uses: taiki-e/install-action@v2 with: tool: cargo-audit diff --git a/.github/workflows/stability.yml b/.github/workflows/stability.yml index f491477..eb2a127 100644 --- a/.github/workflows/stability.yml +++ b/.github/workflows/stability.yml @@ -8,7 +8,7 @@ on: env: CARGO_TERM_COLOR: always - RUST_VERSION: "1.94.0" + RUST_VERSION: "1.96.0" jobs: bench-compile: diff --git a/CLAUDE.md b/CLAUDE.md index b0b3ecb..60ecad5 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -22,7 +22,7 @@ Read and follow `AGENTS.md` — it is the canonical project documentation. This extension targets: - Converge >= 3.9.1 -- MSRV 1.94.0 +- MSRV 1.96.0 - Edition 2024 - `unsafe_code = "forbid"` diff --git a/Cargo.toml b/Cargo.toml index e23799b..1579cc3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ members = ["crates/mnemos"] [workspace.package] version = "1.2.3" edition = "2024" -rust-version = "1.94.0" +rust-version = "1.96.0" license = "MIT" repository = "https://github.com/Reflective-Lab/mnemos-knowledge" diff --git a/README.md b/README.md index 0347615..563055d 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Crates.io](https://img.shields.io/crates/v/converge-mnemos-knowledge.svg)](https://crates.io/crates/converge-mnemos-knowledge) [![docs.rs](https://docs.rs/converge-mnemos-knowledge/badge.svg)](https://docs.rs/converge-mnemos-knowledge) [![dependency status](https://deps.rs/repo/github/Reflective-Lab/mnemos-knowledge/status.svg)](https://deps.rs/repo/github/Reflective-Lab/mnemos-knowledge) -![MSRV](https://img.shields.io/badge/MSRV-1.94.0-blue) +![MSRV](https://img.shields.io/badge/MSRV-1.96.0-blue) gitleaks badge [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..37ae2e0 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,7 @@ +# Pin rustc to a specific stable release so trybuild fixtures, clippy lints, +# and macro-expansion output stay deterministic across contributor machines +# and CI runners. Aligned with the workspace MSRV (Cargo.toml +# [workspace.package] rust-version). +[toolchain] +channel = "1.96.0" +components = ["rustfmt", "clippy"]