From 3dc6f506b099056bc844f2ea824be038998cd131 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sat, 30 Nov 2024 18:40:26 +0100 Subject: [PATCH] chore: disable alloy-rlp default features (#13042) --- Cargo.toml | 2 +- crates/chainspec/Cargo.toml | 3 ++- crates/ethereum-forks/Cargo.toml | 3 ++- crates/evm/execution-errors/Cargo.toml | 3 ++- crates/optimism/primitives/Cargo.toml | 15 ++++++++------- crates/primitives-traits/Cargo.toml | 3 ++- crates/primitives/Cargo.toml | 3 ++- crates/storage/errors/Cargo.toml | 3 ++- 8 files changed, 21 insertions(+), 14 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c4b30ba94630..0f6193812c41 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -432,7 +432,7 @@ revm-primitives = { version = "14.0.0", features = [ alloy-chains = { version = "0.1.32", default-features = false } alloy-dyn-abi = "0.8.11" alloy-primitives = { version = "0.8.11", default-features = false } -alloy-rlp = "0.3.4" +alloy-rlp = { version = "0.3.4", default-features = false } alloy-sol-types = "0.8.11" alloy-trie = { version = "0.7", default-features = false } diff --git a/crates/chainspec/Cargo.toml b/crates/chainspec/Cargo.toml index 5bac582cd8b6..58b2f62b1a6e 100644 --- a/crates/chainspec/Cargo.toml +++ b/crates/chainspec/Cargo.toml @@ -47,7 +47,8 @@ std = [ "alloy-trie/std", "reth-primitives-traits/std", "alloy-consensus/std", - "once_cell/std" + "once_cell/std", + "alloy-rlp/std" ] arbitrary = [ "alloy-chains/arbitrary", diff --git a/crates/ethereum-forks/Cargo.toml b/crates/ethereum-forks/Cargo.toml index be062fb96d9a..1a08498633c4 100644 --- a/crates/ethereum-forks/Cargo.toml +++ b/crates/ethereum-forks/Cargo.toml @@ -60,6 +60,7 @@ std = [ "rustc-hash/std", "alloy-consensus/std", "once_cell/std", - "serde?/std" + "serde?/std", + "alloy-rlp/std" ] rustc-hash = ["dep:rustc-hash"] diff --git a/crates/evm/execution-errors/Cargo.toml b/crates/evm/execution-errors/Cargo.toml index 721c8055110d..3368eb065030 100644 --- a/crates/evm/execution-errors/Cargo.toml +++ b/crates/evm/execution-errors/Cargo.toml @@ -30,5 +30,6 @@ std = [ "reth-consensus/std", "alloy-eips/std", "alloy-primitives/std", - "revm-primitives/std" + "revm-primitives/std", + "alloy-rlp/std" ] diff --git a/crates/optimism/primitives/Cargo.toml b/crates/optimism/primitives/Cargo.toml index abd27300fa59..92e02f1d2dd4 100644 --- a/crates/optimism/primitives/Cargo.toml +++ b/crates/optimism/primitives/Cargo.toml @@ -44,13 +44,14 @@ arbitrary.workspace = true [features] default = ["std", "reth-codec"] std = [ - "reth-primitives-traits/std", - "reth-primitives/std", - "reth-codecs/std", - "alloy-consensus/std", - "alloy-eips/std", - "alloy-primitives/std", - "serde/std", + "reth-primitives-traits/std", + "reth-primitives/std", + "reth-codecs/std", + "alloy-consensus/std", + "alloy-eips/std", + "alloy-primitives/std", + "serde/std", + "alloy-rlp/std" ] reth-codec = [ "dep:reth-codecs", diff --git a/crates/primitives-traits/Cargo.toml b/crates/primitives-traits/Cargo.toml index b625dfcd017e..d56fd5bc0f29 100644 --- a/crates/primitives-traits/Cargo.toml +++ b/crates/primitives-traits/Cargo.toml @@ -62,7 +62,8 @@ std = [ "alloy-primitives/std", "revm-primitives/std", "serde?/std", - "serde_with?/std" + "serde_with?/std", + "alloy-rlp/std" ] test-utils = [ "arbitrary", diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index 50f89dcf6982..7a38e79b1c16 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -104,7 +104,8 @@ std = [ "secp256k1?/std", "serde/std", "alloy-trie/std", - "serde_with?/std" + "serde_with?/std", + "alloy-rlp/std" ] reth-codec = [ "dep:reth-codecs", diff --git a/crates/storage/errors/Cargo.toml b/crates/storage/errors/Cargo.toml index ecefa5f6aca7..9a31177662f7 100644 --- a/crates/storage/errors/Cargo.toml +++ b/crates/storage/errors/Cargo.toml @@ -28,5 +28,6 @@ default = ["std"] std = [ "reth-primitives/std", "alloy-eips/std", - "alloy-primitives/std" + "alloy-primitives/std", + "alloy-rlp/std" ]