diff --git a/CHANGELOG.md b/CHANGELOG.md index 79845ac1..4471a44f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,9 @@ **Breaking Changes**: -- The minium supported Rust version was bumped to **1.57.0** due to requirements from dependencies. +- 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)) +- 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)) ## 0.26.0 diff --git a/sentry-actix/Cargo.toml b/sentry-actix/Cargo.toml index 6779ebaf..bf3f55de 100644 --- a/sentry-actix/Cargo.toml +++ b/sentry-actix/Cargo.toml @@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/" description = """ Sentry client extension for actix-web 3. """ -edition = "2018" +edition = "2021" +rust-version = "1.57" [dependencies] actix-web = { version = "4", default-features = false } diff --git a/sentry-anyhow/Cargo.toml b/sentry-anyhow/Cargo.toml index d0a0538f..1696a942 100644 --- a/sentry-anyhow/Cargo.toml +++ b/sentry-anyhow/Cargo.toml @@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/" description = """ Sentry integration for anyhow. """ -edition = "2018" +edition = "2021" +rust-version = "1.57" [features] default = ["backtrace"] diff --git a/sentry-backtrace/Cargo.toml b/sentry-backtrace/Cargo.toml index 5788d4ec..455b7097 100644 --- a/sentry-backtrace/Cargo.toml +++ b/sentry-backtrace/Cargo.toml @@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/" description = """ Sentry integration and utilities for dealing with stacktraces. """ -edition = "2018" +edition = "2021" +rust-version = "1.57" [dependencies] backtrace = "0.3.44" diff --git a/sentry-contexts/Cargo.toml b/sentry-contexts/Cargo.toml index a9e87e03..ca350cc6 100644 --- a/sentry-contexts/Cargo.toml +++ b/sentry-contexts/Cargo.toml @@ -10,7 +10,8 @@ description = """ Sentry integration for os, device, and rust contexts. """ build = "build.rs" -edition = "2018" +edition = "2021" +rust-version = "1.57" [dependencies] sentry-core = { version = "0.26.0", path = "../sentry-core" } diff --git a/sentry-core/Cargo.toml b/sentry-core/Cargo.toml index 7c250856..4e68c859 100644 --- a/sentry-core/Cargo.toml +++ b/sentry-core/Cargo.toml @@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/" description = """ Core sentry library used for instrumentation and integration development. """ -edition = "2018" +edition = "2021" +rust-version = "1.57" [package.metadata.docs.rs] all-features = true diff --git a/sentry-debug-images/Cargo.toml b/sentry-debug-images/Cargo.toml index a631b12a..f294539e 100644 --- a/sentry-debug-images/Cargo.toml +++ b/sentry-debug-images/Cargo.toml @@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/" description = """ Sentry integration that adds the list of loaded libraries to events. """ -edition = "2018" +edition = "2021" +rust-version = "1.57" [dependencies] findshlibs = "=0.10.2" diff --git a/sentry-log/Cargo.toml b/sentry-log/Cargo.toml index f5cc93bf..22d4b280 100644 --- a/sentry-log/Cargo.toml +++ b/sentry-log/Cargo.toml @@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/" description = """ Sentry integration for log and env_logger crates. """ -edition = "2018" +edition = "2021" +rust-version = "1.57" [dependencies] sentry-core = { version = "0.26.0", path = "../sentry-core" } diff --git a/sentry-panic/Cargo.toml b/sentry-panic/Cargo.toml index 58479cee..2442413b 100644 --- a/sentry-panic/Cargo.toml +++ b/sentry-panic/Cargo.toml @@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/" description = """ Sentry integration for capturing panics. """ -edition = "2018" +edition = "2021" +rust-version = "1.57" [dependencies] sentry-core = { version = "0.26.0", path = "../sentry-core" } diff --git a/sentry-slog/Cargo.toml b/sentry-slog/Cargo.toml index f81841fb..24360203 100644 --- a/sentry-slog/Cargo.toml +++ b/sentry-slog/Cargo.toml @@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/" description = """ Sentry integration for the slog crate. """ -edition = "2018" +edition = "2021" +rust-version = "1.57" [dependencies] sentry-core = { version = "0.26.0", path = "../sentry-core" } diff --git a/sentry-tower/Cargo.toml b/sentry-tower/Cargo.toml index 2535c2f6..686d90e5 100644 --- a/sentry-tower/Cargo.toml +++ b/sentry-tower/Cargo.toml @@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/" description = """ Sentry integration for tower-based crates. """ -edition = "2018" +edition = "2021" +rust-version = "1.57" [features] http = ["http_", "pin-project", "url"] diff --git a/sentry-tracing/Cargo.toml b/sentry-tracing/Cargo.toml index 311231ea..977fbd43 100644 --- a/sentry-tracing/Cargo.toml +++ b/sentry-tracing/Cargo.toml @@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/" description = """ Sentry integration for tracing and tracing-subscriber crates. """ -edition = "2018" +edition = "2021" +rust-version = "1.57" [dependencies] sentry-core = { version = "0.26.0", path = "../sentry-core", features = ["client"] } diff --git a/sentry-types/Cargo.toml b/sentry-types/Cargo.toml index 29235aa4..58fd4f0b 100644 --- a/sentry-types/Cargo.toml +++ b/sentry-types/Cargo.toml @@ -10,7 +10,8 @@ description = """ Common reusable types for implementing the sentry.io protocol. """ keywords = ["sentry", "protocol"] -edition = "2018" +edition = "2021" +rust-version = "1.57" [package.metadata.docs.rs] all-features = true diff --git a/sentry/Cargo.toml b/sentry/Cargo.toml index 37adbd9d..2bd8f1dd 100644 --- a/sentry/Cargo.toml +++ b/sentry/Cargo.toml @@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/" description = """ Sentry (getsentry.com) client for rust ;) """ -edition = "2018" +edition = "2021" +rust-version = "1.57" autoexamples = true # To build locally: