chore: remove optimism feature (#14545)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Arsenii Kulikov
2025-02-18 03:53:50 +04:00
committed by GitHub
parent 482f4557eb
commit 1804bbea6e
48 changed files with 45 additions and 292 deletions

View File

@ -27,7 +27,7 @@ reth-trie-common.workspace = true
reth-optimism-forks.workspace = true
reth-optimism-chainspec.workspace = true
# TODO: remove this after feature cleanup
reth-optimism-primitives = { workspace = true, features = ["serde"] }
reth-optimism-primitives = { workspace = true, features = ["serde", "reth-codec"] }
# ethereum
alloy-eips.workspace = true
@ -79,9 +79,3 @@ std = [
"thiserror/std",
"reth-execution-types/std",
]
optimism = [
"reth-optimism-primitives/optimism",
"reth-execution-types/optimism",
"reth-optimism-node/optimism",
"reth-provider/optimism",
]

View File

@ -7,8 +7,6 @@
)]
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
#![cfg_attr(not(feature = "std"), no_std)]
// The `optimism` feature must be enabled to use this crate.
#![cfg(feature = "optimism")]
extern crate alloc;