[package]
name = "reth-optimism-forks"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
description = "Optimism hardforks used in op-reth"

[lints]
workspace = true

[dependencies]
# reth
reth-ethereum-forks.workspace = true

# ethereum
alloy-chains.workspace = true
alloy-primitives.workspace = true

# io
serde = { workspace = true, optional = true }

# misc
auto_impl.workspace = true
once_cell.workspace = true

[features]
default = ["std"]
std = [
    "alloy-primitives/std",
    "once_cell/std",
    "serde?/std",
    "alloy-chains/std",
    "reth-ethereum-forks/std",
]
serde = [
    "dep:serde",
    "alloy-chains/serde",
    "alloy-primitives/serde",
    "reth-ethereum-forks/serde",
]
