bump rust to 1.82 (#11876)

This commit is contained in:
Thomas Coratger
2024-10-18 22:08:09 +02:00
committed by GitHub
parent a908f97773
commit eee5e0d41f
5 changed files with 22 additions and 9 deletions

View File

@ -103,7 +103,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.81" # MSRV
toolchain: "1.82" # MSRV
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
@ -163,7 +163,7 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
- uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.81" # MSRV
toolchain: "1.82" # MSRV
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true

View File

@ -1,7 +1,7 @@
[workspace.package]
version = "1.1.0"
edition = "2021"
rust-version = "1.81"
rust-version = "1.82"
license = "MIT OR Apache-2.0"
homepage = "https://paradigmxyz.github.io/reth"
repository = "https://github.com/paradigmxyz/reth"
@ -410,9 +410,7 @@ reth-trie-db = { path = "crates/trie/db" }
reth-trie-parallel = { path = "crates/trie/parallel" }
# revm
revm = { version = "14.0.3", features = [
"std",
], default-features = false }
revm = { version = "14.0.3", features = ["std"], default-features = false }
revm-inspectors = "0.8.1"
revm-primitives = { version = "10.0.0", features = [
"std",

View File

@ -87,7 +87,7 @@ When updating this, also update:
- .github/workflows/lint.yml
-->
The Minimum Supported Rust Version (MSRV) of this project is [1.81.0](https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html).
The Minimum Supported Rust Version (MSRV) of this project is [1.82.0](https://blog.rust-lang.org/2024/10/17/Rust-1.82.0.html).
See the book for detailed instructions on how to [build from source](https://paradigmxyz.github.io/reth/installation/source.html).

View File

@ -1,3 +1,17 @@
msrv = "1.81"
msrv = "1.82"
too-large-for-stack = 128
doc-valid-idents = ["P2P", "ExEx", "ExExes", "IPv4", "IPv6", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "WAL", "MessagePack"]
doc-valid-idents = [
"P2P",
"ExEx",
"ExExes",
"IPv4",
"IPv6",
"KiB",
"MiB",
"GiB",
"TiB",
"PiB",
"EiB",
"WAL",
"MessagePack",
]

View File

@ -143,6 +143,7 @@ impl StaticFileProvider {
// appending/truncating rows
for segment in event.paths {
// Ensure it's a file with the .conf extension
#[allow(clippy::nonminimal_bool)]
if !segment
.extension()
.is_some_and(|s| s.to_str() == Some(CONFIG_FILE_EXTENSION))