Skip to content

Commit

Permalink
ci: Add rust-version and update edition to 2021 (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilogorek committed Jun 17, 2022
1 parent 20e1156 commit 9450540
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 14 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion sentry-actix/Cargo.toml
Expand Up @@ -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 }
Expand Down
3 changes: 2 additions & 1 deletion sentry-anyhow/Cargo.toml
Expand Up @@ -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"]
Expand Down
3 changes: 2 additions & 1 deletion sentry-backtrace/Cargo.toml
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion sentry-contexts/Cargo.toml
Expand Up @@ -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" }
Expand Down
3 changes: 2 additions & 1 deletion sentry-core/Cargo.toml
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion sentry-debug-images/Cargo.toml
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion sentry-log/Cargo.toml
Expand Up @@ -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" }
Expand Down
3 changes: 2 additions & 1 deletion sentry-panic/Cargo.toml
Expand Up @@ -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" }
Expand Down
3 changes: 2 additions & 1 deletion sentry-slog/Cargo.toml
Expand Up @@ -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" }
Expand Down
3 changes: 2 additions & 1 deletion sentry-tower/Cargo.toml
Expand Up @@ -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"]
Expand Down
3 changes: 2 additions & 1 deletion sentry-tracing/Cargo.toml
Expand Up @@ -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"] }
Expand Down
3 changes: 2 additions & 1 deletion sentry-types/Cargo.toml
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion sentry/Cargo.toml
Expand Up @@ -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:
Expand Down

0 comments on commit 9450540

Please sign in to comment.