Skip to content

Commit 463093b

Browse files
Swatinemmarcusirgenstimfish
authored
Apply clippy fixes and cherry-pick PRs (#610)
- Bump webpki-roots to ^0.25.1 - `debug-images` should be listed as a default feature - Apply clippy suggestions and bump MSRV --------- Co-authored-by: Marcus Pettersen Irgens <[email protected]> Co-authored-by: Tim Fish <[email protected]>
1 parent 6ef6d97 commit 463093b

File tree

23 files changed

+33
-33
lines changed

23 files changed

+33
-33
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
fail-fast: false
6666
matrix:
6767
os: [ubuntu-latest, macos-latest, windows-latest]
68-
rust: [1.66.0]
68+
rust: [1.67.0]
6969

7070
name: Check / Test MSRV on ${{ matrix.os }}
7171
runs-on: ${{ matrix.os }}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ best API and adding new features.
9393
We currently only verify this crate against a recent version of Sentry hosted on [sentry.io](https://sentry.io/) but it
9494
should work with on-prem Sentry versions 20.6 and later.
9595

96-
The **Minimum Supported Rust Version** is currently at _1.66.0_.
96+
The **Minimum Supported Rust Version** is currently at _1.67.0_.
9797
The Sentry crates will support a _6 months_ old Rust version at time of release,
9898
and the MSRV will be increased in accordance with its dependencies.
9999

100100
**Note**: Due to the misconfiguration in our workflow that verified the MSRV builds,
101-
we had to bump it all the way to _1.66.0_, breaking our own _6 months_ old rule.
101+
we had to bump it all the way to _1.67.0_, breaking our own _6 months_ old rule.
102102
As of version _0.30.0_, the workflow has been fixed, and the MSRV will be enforced correctly.
103103

104104
## Resources

clippy.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
msrv = "1.66.0"
1+
msrv = "1.67.0"

sentry-actix/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description = """
1010
Sentry client extension for actix-web 3.
1111
"""
1212
edition = "2021"
13-
rust-version = "1.66"
13+
rust-version = "1.67"
1414

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

sentry-anyhow/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description = """
1010
Sentry integration for anyhow.
1111
"""
1212
edition = "2021"
13-
rust-version = "1.66"
13+
rust-version = "1.67"
1414

1515
[features]
1616
default = ["backtrace"]

sentry-backtrace/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description = """
1010
Sentry integration and utilities for dealing with stacktraces.
1111
"""
1212
edition = "2021"
13-
rust-version = "1.66"
13+
rust-version = "1.67"
1414

1515
[dependencies]
1616
backtrace = "0.3.44"

sentry-backtrace/src/utils.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,34 @@ static HASH_FUNC_RE: Lazy<Regex> = Lazy::new(|| {
1414

1515
static CRATE_HASH_RE: Lazy<Regex> = Lazy::new(|| {
1616
Regex::new(
17-
r#"(?x)
17+
r"(?x)
1818
\b(\[[a-f0-9]{16}\])
19-
"#,
19+
",
2020
)
2121
.unwrap()
2222
});
2323

2424
static CRATE_RE: Lazy<Regex> = Lazy::new(|| {
2525
Regex::new(
26-
r#"(?x)
26+
r"(?x)
2727
^
2828
(?:_?<)? # trait impl syntax
2929
(?:\w+\ as \ )? # anonymous implementor
3030
([a-zA-Z0-9_]+?) # crate name
3131
(?:\.\.|::|\[) # crate delimiter (.. or :: or [)
32-
"#,
32+
",
3333
)
3434
.unwrap()
3535
});
3636

3737
static COMMON_RUST_SYMBOL_ESCAPES_RE: Lazy<Regex> = Lazy::new(|| {
3838
Regex::new(
39-
r#"(?x)
39+
r"(?x)
4040
\$
4141
(SP|BP|RF|LT|GT|LP|RP|C|
4242
u7e|u20|u27|u5b|u5d|u7b|u7d|u3b|u2b|u22)
4343
\$
44-
"#,
44+
",
4545
)
4646
.unwrap()
4747
});

sentry-contexts/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Sentry integration for os, device, and rust contexts.
1111
"""
1212
build = "build.rs"
1313
edition = "2021"
14-
rust-version = "1.66"
14+
rust-version = "1.67"
1515

1616
[dependencies]
1717
sentry-core = { version = "0.31.5", path = "../sentry-core" }

sentry-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description = """
1010
Core sentry library used for instrumentation and integration development.
1111
"""
1212
edition = "2021"
13-
rust-version = "1.66"
13+
rust-version = "1.67"
1414

1515
[package.metadata.docs.rs]
1616
all-features = true

sentry-debug-images/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description = """
1010
Sentry integration that adds the list of loaded libraries to events.
1111
"""
1212
edition = "2021"
13-
rust-version = "1.66"
13+
rust-version = "1.67"
1414

1515
[dependencies]
1616
findshlibs = "=0.10.2"

0 commit comments

Comments
 (0)