Files
nanoreth/crates/optimism/consensus/Cargo.toml
2025-02-15 08:13:35 +00:00

88 lines
2.2 KiB
TOML

[package]
name = "reth-optimism-consensus"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
exclude.workspace = true
[lints]
workspace = true
[dependencies]
# reth
reth-execution-types.workspace = true
reth-chainspec.workspace = true
reth-consensus-common.workspace = true
reth-consensus.workspace = true
reth-primitives.workspace = true
reth-primitives-traits.workspace = true
reth-storage-api.workspace = true
reth-storage-errors.workspace = true
reth-trie-common.workspace = true
# op-reth
reth-optimism-forks.workspace = true
reth-optimism-chainspec.workspace = true
# TODO: remove this after feature cleanup
reth-optimism-primitives = { workspace = true, features = ["serde"] }
# ethereum
alloy-eips.workspace = true
alloy-primitives.workspace = true
alloy-consensus.workspace = true
alloy-trie.workspace = true
revm.workspace = true
op-alloy-consensus.workspace = true
# misc
tracing.workspace = true
thiserror.workspace = true
[dev-dependencies]
reth-provider = { workspace = true, features = ["test-utils"] }
reth-trie-db.workspace = true
reth-db-common.workspace = true
reth-optimism-node.workspace = true
reth-revm.workspace = true
op-alloy-consensus.workspace = true
alloy-chains.workspace = true
alloy-primitives.workspace = true
reth-optimism-chainspec.workspace = true
reth-trie.workspace = true
[features]
default = ["std"]
std = [
"reth-chainspec/std",
"reth-consensus/std",
"reth-consensus-common/std",
"reth-primitives/std",
"reth-primitives-traits/std",
"reth-optimism-forks/std",
"reth-optimism-chainspec/std",
"reth-optimism-primitives/std",
"reth-storage-api/std",
"reth-storage-errors/std",
"reth-trie-common/std",
"alloy-chains/std",
"alloy-eips/std",
"alloy-primitives/std",
"alloy-consensus/std",
"alloy-trie/std",
"op-alloy-consensus/std",
"reth-revm/std",
"revm/std",
"tracing/std",
"thiserror/std",
"reth-execution-types/std",
]
optimism = [
"reth-optimism-primitives/optimism",
"revm/optimism",
"reth-execution-types/optimism",
"reth-optimism-node/optimism",
]