[package]
name = "reth-node-optimism"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true

[lints]
workspace = true

[dependencies]
# reth
reth-chainspec.workspace = true
reth-primitives.workspace = true
reth-payload-builder.workspace = true
reth-auto-seal-consensus.workspace = true
reth-basic-payload-builder.workspace = true
reth-consensus.workspace = true
reth-optimism-payload-builder.workspace = true
reth-rpc-types.workspace = true
reth-rpc.workspace = true
reth-rpc-types-compat.workspace = true
reth-node-api.workspace = true
reth-node-builder.workspace = true
reth-tracing.workspace = true
reth-provider.workspace = true
reth-transaction-pool.workspace = true
reth-network.workspace = true
reth-evm.workspace = true
reth-revm.workspace = true
reth-evm-optimism.workspace = true
reth-beacon-consensus.workspace = true
reth-optimism-consensus.workspace = true
revm-primitives.workspace = true
reth-discv5.workspace = true
reth-rpc-eth-types.workspace = true
reth-rpc-eth-api.workspace = true
reth-optimism-rpc.workspace = true
reth-tasks.workspace = true

# async
async-trait.workspace = true
reqwest = { workspace = true, features = ["rustls-tls-native-roots"] }
tracing.workspace = true

# misc
clap.workspace = true
serde.workspace = true
eyre.workspace = true
parking_lot.workspace = true
thiserror.workspace = true

# rpc
jsonrpsee.workspace = true
jsonrpsee-types.workspace = true
serde_json.workspace = true

[dev-dependencies]
reth.workspace = true
reth-db.workspace = true
reth-e2e-test-utils.workspace = true
reth-node-builder = { workspace = true, features = ["test-utils"] }
reth-provider = { workspace = true, features = ["test-utils"] }
reth-revm = { workspace = true, features = ["test-utils"] }
tokio.workspace = true
alloy-primitives.workspace = true
alloy-genesis.workspace = true

[features]
optimism = [
    "reth-chainspec/optimism",
    "reth-primitives/optimism",
    "reth-provider/optimism",
    "reth-rpc-types-compat/optimism",
    "reth-rpc/optimism",
    "reth-evm-optimism/optimism",
    "reth-optimism-payload-builder/optimism",
    "reth-beacon-consensus/optimism",
    "reth-revm/optimism",
    "reth-auto-seal-consensus/optimism",
    "reth-optimism-rpc/optimism"
]
test-utils = ["reth-node-builder/test-utils"]
