From ad89056e485ce690196bc888553d6297ad96a20b Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sat, 28 Dec 2024 18:29:59 +0100 Subject: [PATCH] chore: disable chainspec default features (#13583) --- Cargo.toml | 2 +- crates/ethereum/evm/Cargo.toml | 3 ++- crates/evm/Cargo.toml | 3 ++- crates/net/eth-wire-types/Cargo.toml | 3 ++- crates/optimism/evm/Cargo.toml | 3 ++- crates/primitives/Cargo.toml | 3 ++- 6 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a3fcc64bd02f..35eae6f510ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -309,7 +309,7 @@ reth-bench = { path = "bin/reth-bench" } reth-blockchain-tree = { path = "crates/blockchain-tree" } reth-blockchain-tree-api = { path = "crates/blockchain-tree-api" } reth-chain-state = { path = "crates/chain-state" } -reth-chainspec = { path = "crates/chainspec" } +reth-chainspec = { path = "crates/chainspec", default-features = false } reth-cli = { path = "crates/cli/cli" } reth-cli-commands = { path = "crates/cli/commands" } reth-cli-runner = { path = "crates/cli/runner" } diff --git a/crates/ethereum/evm/Cargo.toml b/crates/ethereum/evm/Cargo.toml index f55a74adb7ad..7e6ed8052877 100644 --- a/crates/ethereum/evm/Cargo.toml +++ b/crates/ethereum/evm/Cargo.toml @@ -54,5 +54,6 @@ std = [ "secp256k1/std", "reth-ethereum-forks/std", "serde_json/std", - "reth-primitives-traits/std" + "reth-primitives-traits/std", + "reth-chainspec/std" ] diff --git a/crates/evm/Cargo.toml b/crates/evm/Cargo.toml index fe5505b52bd0..0d9bc26c0e07 100644 --- a/crates/evm/Cargo.toml +++ b/crates/evm/Cargo.toml @@ -57,7 +57,8 @@ std = [ "alloy-consensus/std", "revm-primitives/std", "revm/std", - "reth-ethereum-forks/std" + "reth-ethereum-forks/std", + "reth-chainspec/std" ] test-utils = [ "dep:parking_lot", diff --git a/crates/net/eth-wire-types/Cargo.toml b/crates/net/eth-wire-types/Cargo.toml index d92e971a6bb4..c983d911661b 100644 --- a/crates/net/eth-wire-types/Cargo.toml +++ b/crates/net/eth-wire-types/Cargo.toml @@ -60,7 +60,8 @@ std = [ "reth-primitives/std", "reth-primitives-traits/std", "serde?/std", - "thiserror/std" + "thiserror/std", + "reth-chainspec/std" ] arbitrary = [ "reth-primitives/arbitrary", diff --git a/crates/optimism/evm/Cargo.toml b/crates/optimism/evm/Cargo.toml index d60ef155019b..190b5d4f9deb 100644 --- a/crates/optimism/evm/Cargo.toml +++ b/crates/optimism/evm/Cargo.toml @@ -72,7 +72,8 @@ std = [ "derive_more/std", "reth-optimism-forks/std", "thiserror/std", - "op-alloy-consensus/std" + "op-alloy-consensus/std", + "reth-chainspec/std" ] optimism = [ "reth-primitives/optimism", diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index 71c7a635a605..e7036f1752bc 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -118,7 +118,8 @@ std = [ "reth-trie-common/std", "op-alloy-consensus?/std", "op-alloy-rpc-types?/std", - "serde_json/std" + "serde_json/std", + "reth-chainspec/std" ] reth-codec = [ "dep:reth-codecs",