mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
113 lines
2.6 KiB
TOML
113 lines
2.6 KiB
TOML
[package]
|
|
name = "reth-node-core"
|
|
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-primitives.workspace = true
|
|
reth-fs-util.workspace = true
|
|
reth-db = { workspace = true, features = ["mdbx"] }
|
|
reth-db-api.workspace = true
|
|
reth-storage-errors.workspace = true
|
|
reth-provider.workspace = true
|
|
reth-network = { workspace = true, features = ["serde"] }
|
|
reth-network-p2p.workspace = true
|
|
reth-rpc.workspace = true
|
|
reth-rpc-server-types.workspace = true
|
|
reth-rpc-types.workspace = true
|
|
reth-rpc-types-compat.workspace = true
|
|
reth-rpc-api = { workspace = true, features = ["client"] }
|
|
reth-transaction-pool.workspace = true
|
|
reth-tracing.workspace = true
|
|
reth-config.workspace = true
|
|
reth-discv4.workspace = true
|
|
reth-discv5.workspace = true
|
|
reth-net-nat.workspace = true
|
|
reth-engine-primitives.workspace = true
|
|
reth-tasks.workspace = true
|
|
reth-consensus-common.workspace = true
|
|
reth-beacon-consensus.workspace = true
|
|
reth-prune-types.workspace = true
|
|
|
|
# ethereum
|
|
alloy-rpc-types-engine.workspace = true
|
|
|
|
# async
|
|
tokio.workspace = true
|
|
tokio-util.workspace = true
|
|
pin-project.workspace = true
|
|
|
|
# metrics
|
|
reth-metrics.workspace = true
|
|
metrics.workspace = true
|
|
metrics-exporter-prometheus.workspace = true
|
|
metrics-process.workspace = true
|
|
metrics-util.workspace = true
|
|
|
|
# misc
|
|
eyre.workspace = true
|
|
clap = { workspace = true, features = ["derive"] }
|
|
humantime.workspace = true
|
|
thiserror.workspace = true
|
|
const-str = "0.5.6"
|
|
rand.workspace = true
|
|
derive_more.workspace = true
|
|
once_cell.workspace = true
|
|
|
|
# io
|
|
dirs-next = "2.0.0"
|
|
shellexpand = "3.0.0"
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
|
|
# http/rpc
|
|
http.workspace = true
|
|
jsonrpsee.workspace = true
|
|
tower.workspace = true
|
|
|
|
# tracing
|
|
tracing.workspace = true
|
|
|
|
# crypto
|
|
secp256k1 = { workspace = true, features = [
|
|
"global-context",
|
|
"rand-std",
|
|
"recovery",
|
|
] }
|
|
|
|
# async
|
|
futures.workspace = true
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
tikv-jemalloc-ctl = { version = "0.5.0", optional = true }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
procfs = "0.16.0"
|
|
|
|
[dev-dependencies]
|
|
# test vectors generation
|
|
proptest.workspace = true
|
|
reth-network-peers.workspace = true
|
|
|
|
[features]
|
|
optimism = [
|
|
"reth-primitives/optimism",
|
|
"reth-rpc/optimism",
|
|
"reth-provider/optimism",
|
|
"reth-rpc-types-compat/optimism",
|
|
"reth-beacon-consensus/optimism",
|
|
]
|
|
|
|
jemalloc = ["dep:tikv-jemalloc-ctl"]
|
|
|
|
[build-dependencies]
|
|
vergen = { version = "8.0.0", features = ["build", "cargo", "git", "gitcl"] }
|