Moving Optimism bin to Optimism Cli (#9439)

Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
This commit is contained in:
Luca Provini
2024-07-29 17:32:50 +02:00
committed by GitHub
parent 8eba1286d8
commit 56b2798090
22 changed files with 157 additions and 134 deletions

View File

@ -0,0 +1,42 @@
[package]
name = "op-reth"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
exclude.workspace = true
[dependencies]
reth-node-builder.workspace = true
reth-cli-util.workspace = true
reth-optimism-cli.workspace = true
reth-tracing.workspace = true
reth-node-optimism.workspace = true
clap = { workspace = true, features = ["derive", "env"] }
[target.'cfg(unix)'.dependencies]
tikv-jemallocator = { workspace = true, optional = true }
[lints]
workspace = true
[[bin]]
name = "op-reth"
path = "src/main.rs"
[features]
default = ["jemalloc"]
jemalloc = ["dep:tikv-jemallocator"]
jemalloc-prof = ["jemalloc", "tikv-jemallocator?/profiling"]
asm-keccak = ["reth-node-optimism/asm-keccak"]
optimism = [
"reth-optimism-cli/optimism",
"reth-node-optimism/optimism",
]