Skip to content

Commit 9450540

Browse files
authored
ci: Add rust-version and update edition to 2021 (#473)
1 parent 20e1156 commit 9450540

File tree

14 files changed

+29
-14
lines changed

14 files changed

+29
-14
lines changed

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
**Breaking Changes**:
66

7-
- The minium supported Rust version was bumped to **1.57.0** due to requirements from dependencies.
7+
- 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))
8+
- Add the `rust-version` field to the manifest. ([#473](https://github.com/getsentry/sentry-rust/pull/473))
9+
- Update to edition 2021. ([#473](https://github.com/getsentry/sentry-rust/pull/473))
810

911
## 0.26.0
1012

sentry-actix/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/"
99
description = """
1010
Sentry client extension for actix-web 3.
1111
"""
12-
edition = "2018"
12+
edition = "2021"
13+
rust-version = "1.57"
1314

1415
[dependencies]
1516
actix-web = { version = "4", default-features = false }

sentry-anyhow/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/"
99
description = """
1010
Sentry integration for anyhow.
1111
"""
12-
edition = "2018"
12+
edition = "2021"
13+
rust-version = "1.57"
1314

1415
[features]
1516
default = ["backtrace"]

sentry-backtrace/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/"
99
description = """
1010
Sentry integration and utilities for dealing with stacktraces.
1111
"""
12-
edition = "2018"
12+
edition = "2021"
13+
rust-version = "1.57"
1314

1415
[dependencies]
1516
backtrace = "0.3.44"

sentry-contexts/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ description = """
1010
Sentry integration for os, device, and rust contexts.
1111
"""
1212
build = "build.rs"
13-
edition = "2018"
13+
edition = "2021"
14+
rust-version = "1.57"
1415

1516
[dependencies]
1617
sentry-core = { version = "0.26.0", path = "../sentry-core" }

sentry-core/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/"
99
description = """
1010
Core sentry library used for instrumentation and integration development.
1111
"""
12-
edition = "2018"
12+
edition = "2021"
13+
rust-version = "1.57"
1314

1415
[package.metadata.docs.rs]
1516
all-features = true

sentry-debug-images/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/"
99
description = """
1010
Sentry integration that adds the list of loaded libraries to events.
1111
"""
12-
edition = "2018"
12+
edition = "2021"
13+
rust-version = "1.57"
1314

1415
[dependencies]
1516
findshlibs = "=0.10.2"

sentry-log/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/"
99
description = """
1010
Sentry integration for log and env_logger crates.
1111
"""
12-
edition = "2018"
12+
edition = "2021"
13+
rust-version = "1.57"
1314

1415
[dependencies]
1516
sentry-core = { version = "0.26.0", path = "../sentry-core" }

sentry-panic/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/"
99
description = """
1010
Sentry integration for capturing panics.
1111
"""
12-
edition = "2018"
12+
edition = "2021"
13+
rust-version = "1.57"
1314

1415
[dependencies]
1516
sentry-core = { version = "0.26.0", path = "../sentry-core" }

sentry-slog/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/"
99
description = """
1010
Sentry integration for the slog crate.
1111
"""
12-
edition = "2018"
12+
edition = "2021"
13+
rust-version = "1.57"
1314

1415
[dependencies]
1516
sentry-core = { version = "0.26.0", path = "../sentry-core" }

sentry-tower/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/"
99
description = """
1010
Sentry integration for tower-based crates.
1111
"""
12-
edition = "2018"
12+
edition = "2021"
13+
rust-version = "1.57"
1314

1415
[features]
1516
http = ["http_", "pin-project", "url"]

sentry-tracing/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/"
99
description = """
1010
Sentry integration for tracing and tracing-subscriber crates.
1111
"""
12-
edition = "2018"
12+
edition = "2021"
13+
rust-version = "1.57"
1314

1415
[dependencies]
1516
sentry-core = { version = "0.26.0", path = "../sentry-core", features = ["client"] }

sentry-types/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ description = """
1010
Common reusable types for implementing the sentry.io protocol.
1111
"""
1212
keywords = ["sentry", "protocol"]
13-
edition = "2018"
13+
edition = "2021"
14+
rust-version = "1.57"
1415

1516
[package.metadata.docs.rs]
1617
all-features = true

sentry/Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ homepage = "https://sentry.io/welcome/"
99
description = """
1010
Sentry (getsentry.com) client for rust ;)
1111
"""
12-
edition = "2018"
12+
edition = "2021"
13+
rust-version = "1.57"
1314
autoexamples = true
1415

1516
# To build locally:

0 commit comments

Comments
 (0)