diff --git a/.cargo/config.toml b/.cargo/config.toml index aeeacca0145..3c612e24e8f 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,2 @@ [target.x86_64-unknown-linux-gnu] -rustflags = ["-Ctarget-cpu=x86-64-v2"] +rustflags = ["-Ctarget-cpu=x86-64-v2", "-Csha2_backend=x86-avx2"] diff --git a/Cargo.toml b/Cargo.toml index 0a00799c305..3507060fbf2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -97,6 +97,7 @@ secp256k1 = { version = "0.30.0", default-features = false, features = [ "recovery", "rand", ] } +keccak = { version = "0.1.5", features = ["simd"] } axum = { version = "0.8.1" } clap = { version = "4.3", features = ["derive", "env"] } clap_complete = "4.5.17" diff --git a/crates/blockchain/payload.rs b/crates/blockchain/payload.rs index 40d0b3f7213..c3b1d845b00 100644 --- a/crates/blockchain/payload.rs +++ b/crates/blockchain/payload.rs @@ -43,7 +43,7 @@ use crate::{ }; use thiserror::Error; -use tracing::{debug, error, warn}; +use tracing::{debug, warn}; #[derive(Debug)] pub struct PayloadBuildTask { diff --git a/crates/networking/p2p/Cargo.toml b/crates/networking/p2p/Cargo.toml index ce819dc570d..4949ab6198a 100644 --- a/crates/networking/p2p/Cargo.toml +++ b/crates/networking/p2p/Cargo.toml @@ -37,7 +37,7 @@ rocksdb = { workspace = true, optional = true } prometheus = "0.14.0" tokio-stream = "0.1.17" -sha3 = "0.10.8" +sha3.workspace = true serde_json = "1.0.117" diff --git a/crates/networking/rpc/Cargo.toml b/crates/networking/rpc/Cargo.toml index 513016d088e..db811a5a46f 100644 --- a/crates/networking/rpc/Cargo.toml +++ b/crates/networking/rpc/Cargo.toml @@ -32,9 +32,12 @@ jsonwebtoken.workspace = true rand.workspace = true tokio-util = { workspace = true, features = ["codec"] } reqwest.workspace = true -sha3 = "0.10.8" +sha3.workspace = true sha2.workspace = true -jemalloc_pprof = { version = "0.8.0", optional = true, features = ["flamegraph", "symbolize"] } +jemalloc_pprof = { version = "0.8.0", optional = true, features = [ + "flamegraph", + "symbolize", +] } # Clients envy = "0.4.2" diff --git a/crates/vm/levm/Cargo.toml b/crates/vm/levm/Cargo.toml index b2fdf9a43b1..e24dc844412 100644 --- a/crates/vm/levm/Cargo.toml +++ b/crates/vm/levm/Cargo.toml @@ -17,7 +17,7 @@ thiserror.workspace = true serde = { workspace = true, features = ["derive", "rc"] } serde_json.workspace = true -sha3 = "0.10.8" +sha3.workspace = true datatest-stable = "0.2.9" walkdir = "2.5.0" secp256k1.workspace = true diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 2ce412d5ad4..fe739d6f045 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,4 @@ [toolchain] -channel = "1.90.0" profile = "default" +#channel = "1.90.0" +channel = "nightly-2025-10-31"