Disable default features for optimism crates in workspace manifest (#14467)

This commit is contained in:
Emilia Hane
2025-02-13 16:22:02 +01:00
committed by GitHub
parent d64fece1ca
commit 08011a829e
5 changed files with 17 additions and 10 deletions

View File

@ -71,6 +71,7 @@ std = [
"reth-chainspec/std",
"reth-optimism-consensus/std",
"reth-consensus-common/std",
"reth-optimism-chainspec/std",
"reth-execution-errors/std",
"reth-execution-types/std",
]

View File

@ -104,6 +104,7 @@ serde-bincode-compat = [
"reth-primitives-traits/serde-bincode-compat",
]
arbitrary = [
"std",
"dep:arbitrary",
"dep:secp256k1",
"secp256k1?/rand",

View File

@ -39,10 +39,14 @@ reth-optimism-rpc = { workspace = true, optional = true }
default = ["std"]
std = [
"reth-chainspec/std",
"reth-optimism-primitives/std",
"reth-primitives-traits/std",
"reth-consensus?/std",
"reth-consensus-common?/std",
"reth-optimism-chainspec/std",
"reth-optimism-consensus?/std",
"reth-optimism-evm?/std",
"reth-optimism-primitives/std",
"reth-primitives-traits/std",
"reth-storage-api?/std",
]
arbitrary = [
"std",

View File

@ -33,12 +33,13 @@ alloy-consensus.workspace = true
[features]
default = ["std"]
std = [
"reth-primitives-traits/std",
"alloy-primitives/std",
"revm/std",
"alloy-consensus/std",
"alloy-primitives/std",
"reth-ethereum-forks/std",
"reth-primitives-traits/std",
"reth-storage-errors/std",
"revm/std",
"reth-storage-api/std",
]
witness = ["dep:reth-trie"]
test-utils = [