From bde400d0b334adca577812d4989d48a687649088 Mon Sep 17 00:00:00 2001 From: Francesco Vigliaturo Date: Wed, 31 Aug 2022 16:59:55 +0200 Subject: [PATCH 1/4] Bump MSRV to 1.60.0 --- .github/workflows/ci.yml | 2 +- README.md | 2 +- clippy.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d883eed..456c668d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,7 +99,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - rust: [1.57.0] + rust: [1.60.0] name: Check / Test MSRV on ${{ matrix.os }} runs-on: ${{ matrix.os }} diff --git a/README.md b/README.md index e65623cc..d243742c 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,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.57.0_. +The **Minimum Supported Rust Version** is currently at _1.60.0_. The Sentry crates will support a _6 month_ 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 5cccb362..16caf02e 100644 --- a/clippy.toml +++ b/clippy.toml @@ -1 +1 @@ -msrv = "1.57" +msrv = "1.60.0" From 85441b293fc8c44d032e96eed0f9c9de0ec26c13 Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Thu, 1 Sep 2022 10:57:15 +0200 Subject: [PATCH 2/4] bump nightly compiler used for code coverage --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 456c668d..c5e52e57 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -139,7 +139,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly-2022-01-14 + toolchain: nightly-2022-09-01 components: llvm-tools-preview override: true From d400de38e7d0b294561d83c1870ed794c9107888 Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Thu, 1 Sep 2022 11:00:16 +0200 Subject: [PATCH 3/4] add bump to changelog and update rust-version field in Cargo.toml --- CHANGELOG.md | 3 ++- sentry-actix/Cargo.toml | 2 +- sentry-anyhow/Cargo.toml | 2 +- sentry-backtrace/Cargo.toml | 2 +- sentry-contexts/Cargo.toml | 2 +- sentry-core/Cargo.toml | 2 +- sentry-debug-images/Cargo.toml | 2 +- sentry-log/Cargo.toml | 2 +- sentry-panic/Cargo.toml | 2 +- sentry-slog/Cargo.toml | 2 +- sentry-tower/Cargo.toml | 2 +- sentry-tracing/Cargo.toml | 2 +- sentry-types/Cargo.toml | 2 +- sentry/Cargo.toml | 2 +- 14 files changed, 15 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97611b6b..a90fd496 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ **Breaking Changes**: +- The minium supported Rust version was bumped to **1.60.0** due to requirements from dependencies. ([#498](https://github.com/getsentry/sentry-rust/pull/498)) + **Features**: - Add support for Profiling feature. ([#479](https://github.com/getsentry/sentry-rust/pull/479)) @@ -12,7 +14,6 @@ **Thank you**: - ## 0.27.0 **Breaking Changes**: diff --git a/sentry-actix/Cargo.toml b/sentry-actix/Cargo.toml index a98f4c25..aa7c2700 100644 --- a/sentry-actix/Cargo.toml +++ b/sentry-actix/Cargo.toml @@ -10,7 +10,7 @@ description = """ Sentry client extension for actix-web 3. """ edition = "2021" -rust-version = "1.57" +rust-version = "1.60" [dependencies] actix-web = { version = "4", default-features = false } diff --git a/sentry-anyhow/Cargo.toml b/sentry-anyhow/Cargo.toml index 4420f1bc..e0d12793 100644 --- a/sentry-anyhow/Cargo.toml +++ b/sentry-anyhow/Cargo.toml @@ -10,7 +10,7 @@ description = """ Sentry integration for anyhow. """ edition = "2021" -rust-version = "1.57" +rust-version = "1.60" [features] default = ["backtrace"] diff --git a/sentry-backtrace/Cargo.toml b/sentry-backtrace/Cargo.toml index f777e1b5..6f057085 100644 --- a/sentry-backtrace/Cargo.toml +++ b/sentry-backtrace/Cargo.toml @@ -10,7 +10,7 @@ description = """ Sentry integration and utilities for dealing with stacktraces. """ edition = "2021" -rust-version = "1.57" +rust-version = "1.60" [dependencies] backtrace = "0.3.44" diff --git a/sentry-contexts/Cargo.toml b/sentry-contexts/Cargo.toml index d3700e59..ab83184e 100644 --- a/sentry-contexts/Cargo.toml +++ b/sentry-contexts/Cargo.toml @@ -11,7 +11,7 @@ Sentry integration for os, device, and rust contexts. """ build = "build.rs" edition = "2021" -rust-version = "1.57" +rust-version = "1.60" [dependencies] sentry-core = { version = "0.27.0", path = "../sentry-core" } diff --git a/sentry-core/Cargo.toml b/sentry-core/Cargo.toml index 0f3fdaf9..5a318e44 100644 --- a/sentry-core/Cargo.toml +++ b/sentry-core/Cargo.toml @@ -10,7 +10,7 @@ description = """ Core sentry library used for instrumentation and integration development. """ edition = "2021" -rust-version = "1.57" +rust-version = "1.60" [package.metadata.docs.rs] all-features = true diff --git a/sentry-debug-images/Cargo.toml b/sentry-debug-images/Cargo.toml index 6600ca34..29f0d616 100644 --- a/sentry-debug-images/Cargo.toml +++ b/sentry-debug-images/Cargo.toml @@ -10,7 +10,7 @@ description = """ Sentry integration that adds the list of loaded libraries to events. """ edition = "2021" -rust-version = "1.57" +rust-version = "1.60" [dependencies] findshlibs = "=0.10.2" diff --git a/sentry-log/Cargo.toml b/sentry-log/Cargo.toml index a5651d4b..31a1c6a1 100644 --- a/sentry-log/Cargo.toml +++ b/sentry-log/Cargo.toml @@ -10,7 +10,7 @@ description = """ Sentry integration for log and env_logger crates. """ edition = "2021" -rust-version = "1.57" +rust-version = "1.60" [dependencies] sentry-core = { version = "0.27.0", path = "../sentry-core" } diff --git a/sentry-panic/Cargo.toml b/sentry-panic/Cargo.toml index 90bcee39..dcb1740c 100644 --- a/sentry-panic/Cargo.toml +++ b/sentry-panic/Cargo.toml @@ -10,7 +10,7 @@ description = """ Sentry integration for capturing panics. """ edition = "2021" -rust-version = "1.57" +rust-version = "1.60" [dependencies] sentry-core = { version = "0.27.0", path = "../sentry-core" } diff --git a/sentry-slog/Cargo.toml b/sentry-slog/Cargo.toml index 34e37614..a93ba544 100644 --- a/sentry-slog/Cargo.toml +++ b/sentry-slog/Cargo.toml @@ -10,7 +10,7 @@ description = """ Sentry integration for the slog crate. """ edition = "2021" -rust-version = "1.57" +rust-version = "1.60" [dependencies] sentry-core = { version = "0.27.0", path = "../sentry-core" } diff --git a/sentry-tower/Cargo.toml b/sentry-tower/Cargo.toml index d988fbf2..cbad6408 100644 --- a/sentry-tower/Cargo.toml +++ b/sentry-tower/Cargo.toml @@ -10,7 +10,7 @@ description = """ Sentry integration for tower-based crates. """ edition = "2021" -rust-version = "1.57" +rust-version = "1.60" [features] http = ["http_", "pin-project", "url"] diff --git a/sentry-tracing/Cargo.toml b/sentry-tracing/Cargo.toml index 2eafb1c1..d4c0ae51 100644 --- a/sentry-tracing/Cargo.toml +++ b/sentry-tracing/Cargo.toml @@ -10,7 +10,7 @@ description = """ Sentry integration for tracing and tracing-subscriber crates. """ edition = "2021" -rust-version = "1.57" +rust-version = "1.60" [dependencies] sentry-core = { version = "0.27.0", path = "../sentry-core", features = ["client"] } diff --git a/sentry-types/Cargo.toml b/sentry-types/Cargo.toml index fe7f4608..91d69d5d 100644 --- a/sentry-types/Cargo.toml +++ b/sentry-types/Cargo.toml @@ -11,7 +11,7 @@ Common reusable types for implementing the sentry.io protocol. """ keywords = ["sentry", "protocol"] edition = "2021" -rust-version = "1.57" +rust-version = "1.60" [package.metadata.docs.rs] all-features = true diff --git a/sentry/Cargo.toml b/sentry/Cargo.toml index eae5b74f..696f7cc6 100644 --- a/sentry/Cargo.toml +++ b/sentry/Cargo.toml @@ -10,7 +10,7 @@ description = """ Sentry (getsentry.com) client for rust ;) """ edition = "2021" -rust-version = "1.57" +rust-version = "1.60" autoexamples = true # To build locally: From 928a433d09a4ad8c624a1a872effc0766d2b111c Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Thu, 1 Sep 2022 11:01:05 +0200 Subject: [PATCH 4/4] lol typo --- CHANGELOG.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a90fd496..d1b59346 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ **Breaking Changes**: -- The minium supported Rust version was bumped to **1.60.0** due to requirements from dependencies. ([#498](https://github.com/getsentry/sentry-rust/pull/498)) +- The minimum supported Rust version was bumped to **1.60.0** due to requirements from dependencies. ([#498](https://github.com/getsentry/sentry-rust/pull/498)) **Features**: @@ -18,7 +18,7 @@ **Breaking Changes**: -- The minium supported Rust version was bumped to **1.57.0** due to requirements from dependencies. ([#472](https://github.com/getsentry/sentry-rust/pull/472)) +- The minimum supported Rust version was bumped to **1.57.0** due to requirements from dependencies. ([#472](https://github.com/getsentry/sentry-rust/pull/472)) - Add the `rust-version` field to the manifest. ([#473](https://github.com/getsentry/sentry-rust/pull/473)) - Update to edition 2021. ([#473](https://github.com/getsentry/sentry-rust/pull/473)) @@ -77,7 +77,7 @@ Features, fixes and improvements in this release have been contributed by: **Breaking Changes**: -- The minium supported Rust version was bumped to **1.54.0** due to requirements from dependencies. +- The minimum supported Rust version was bumped to **1.54.0** due to requirements from dependencies. - Updated the `sentry-actix` integration to `actix-web@4`. ([#437](https://github.com/getsentry/sentry-rust/pull/437)) **Features**: @@ -125,7 +125,7 @@ Features, fixes and improvements in this release have been contributed by: **Breaking Changes**: -- The minium supported Rust version was bumped to **1.53.0** due to requirements from dependencies. +- The minimum supported Rust version was bumped to **1.53.0** due to requirements from dependencies. - The `backtrace` feature of `sentry-anyhow` is enabled by default. ([#362](https://github.com/getsentry/sentry-rust/pull/362)) - The `tracing-subscriber` dependency of `sentry-tracing` has been bumped to version `0.3.x`. ([#377](https://github.com/getsentry/sentry-rust/pull/377)) - `Scope::add_event_processor` now takes a generic parameter instead of a boxed function.([#380](https://github.com/getsentry/sentry-rust/pull/380)) @@ -167,7 +167,7 @@ Features, fixes and improvements in this release have been contributed by: **Breaking Changes**: -- The minium supported Rust version was bumped to **1.46.0** due to requirements from dependencies. +- The minimum supported Rust version was bumped to **1.46.0** due to requirements from dependencies. **Features**: