From 807d328cf091ba8a31e81d17d7768d2fb813caf8 Mon Sep 17 00:00:00 2001 From: Emma Jamieson-Hoare Date: Wed, 11 Feb 2026 20:15:12 -0500 Subject: [PATCH] fix: move alloy-primitives to regular dependency in bin/reth (#22105) Co-authored-by: Amp --- bin/reth/Cargo.toml | 2 +- bin/reth/src/lib.rs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/reth/Cargo.toml b/bin/reth/Cargo.toml index 528007c954..619edd33fc 100644 --- a/bin/reth/Cargo.toml +++ b/bin/reth/Cargo.toml @@ -58,6 +58,7 @@ reth-node-metrics.workspace = true reth-consensus.workspace = true # alloy +alloy-primitives.workspace = true alloy-rpc-types = { workspace = true, features = ["engine"] } # tracing @@ -69,7 +70,6 @@ clap = { workspace = true, features = ["derive", "env"] } [dev-dependencies] alloy-node-bindings = "1.6.3" -alloy-primitives.workspace = true alloy-provider = { workspace = true, features = ["reqwest"] } alloy-rpc-types-eth.workspace = true backon.workspace = true diff --git a/bin/reth/src/lib.rs b/bin/reth/src/lib.rs index 8d0b91975a..3cf2a2845b 100644 --- a/bin/reth/src/lib.rs +++ b/bin/reth/src/lib.rs @@ -51,6 +51,9 @@ #![cfg_attr(not(test), warn(unused_crate_dependencies))] #![cfg_attr(docsrs, feature(doc_cfg))] +// Used in feature flags only (`asm-keccak`, `keccak-cache-global`) +use alloy_primitives as _; + pub mod cli; /// Re-exported utils.