Skip to content

Commit

Permalink
chore: disable alloy-rlp default features (#13042)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Nov 30, 2024
1 parent 4634625 commit 3dc6f50
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down
3 changes: 2 additions & 1 deletion crates/chainspec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion crates/ethereum-forks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
3 changes: 2 additions & 1 deletion crates/evm/execution-errors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@ std = [
"reth-consensus/std",
"alloy-eips/std",
"alloy-primitives/std",
"revm-primitives/std"
"revm-primitives/std",
"alloy-rlp/std"
]
15 changes: 8 additions & 7 deletions crates/optimism/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion crates/primitives-traits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion crates/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion crates/storage/errors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ default = ["std"]
std = [
"reth-primitives/std",
"alloy-eips/std",
"alloy-primitives/std"
"alloy-primitives/std",
"alloy-rlp/std"
]

0 comments on commit 3dc6f50

Please sign in to comment.