feat(no-std): enable no_std support for op consensus rules (#13684)

This commit is contained in:
Emilia Hane
2025-01-06 22:48:45 +01:00
committed by GitHub
parent 28fde3fbf5
commit 89a93c5570
5 changed files with 212 additions and 180 deletions

View File

@ -38,4 +38,18 @@ op-alloy-consensus.workspace = true
reth-optimism-chainspec.workspace = true
[features]
default = ["std"]
std = [
"reth-chainspec/std",
"reth-consensus/std",
"reth-primitives/std",
"reth-optimism-forks/std",
"reth-optimism-chainspec/std",
"reth-optimism-primitives/std",
"alloy-eips/std",
"alloy-primitives/std",
"alloy-consensus/std",
"alloy-trie/std",
"op-alloy-consensus/std",
]
optimism = ["reth-primitives/optimism", "reth-optimism-primitives/optimism"]