From c91c82fd263043f5f33f9d9354c76927a9937660 Mon Sep 17 00:00:00 2001 From: Daniel Szoke Date: Tue, 3 Feb 2026 14:21:09 +0100 Subject: [PATCH] chore(msrv): Increase MSRV to 1.88 --- .github/workflows/ci.yml | 4 ++-- CHANGELOG.md | 4 ++++ Cargo.toml | 2 +- README.md | 2 +- clippy.toml | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d7c9131b..72ba62e25 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,7 +63,7 @@ jobs: - name: Run tests with nextest run: cargo nextest run --profile ci --all-features --all-targets - + - name: Upload test results to Sentry Prevent if: ${{ !cancelled() && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) }} uses: getsentry/prevent-action@v0 @@ -76,7 +76,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - rust: [1.81.0] + rust: [1.88.0] name: Check / Test MSRV on ${{ matrix.os }} runs-on: ${{ matrix.os }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e691db95..5b7844beb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ - Log HTTP 413 responses as oversized envelope discards in HTTP transports ([#966](https://github.com/getsentry/sentry-rust/pull/966)) +### Minimum Supported Rust Version + +- Bump minimum supported Rust version to 1.88 ([#970](https://github.com/getsentry/sentry-rust/pull/970)). + ## 0.46.1 ### Improvements diff --git a/Cargo.toml b/Cargo.toml index d25815c62..bb40a26e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,4 +22,4 @@ authors = ["Sentry "] repository = "https://github.com/getsentry/sentry-rust" homepage = "https://sentry.io/welcome/" edition = "2021" -rust-version = "1.81" +rust-version = "1.88" diff --git a/README.md b/README.md index 160c12fc0..2157e02dd 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ best API and adding new features. We currently only verify this crate against a recent version of Sentry hosted on [sentry.io](https://sentry.io/) but it should work with on-prem Sentry versions 20.6 and later. -The **Minimum Supported Rust Version** is currently at _1.81.0_. +The **Minimum Supported Rust Version** is currently at _1.88.0_. The Sentry crates tries to support a _6 months_ old Rust version at time of release, and the MSRV will be increased in accordance with its dependencies. diff --git a/clippy.toml b/clippy.toml index 5e90250c4..711107cf7 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1 +1 @@ -msrv = "1.81.0" +msrv = "1.88.0"