Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add rust-version and update edition to 2021 #473

Merged
merged 1 commit into from Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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