Files
reth/crates/staged-sync/Cargo.toml
chirag-bgh 2e406c1791 ci: upgrade to geth 1.12.0-e501b3b0 (#2874)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-06-02 19:11:19 +00:00

99 lines
2.7 KiB
TOML

[package]
name = "reth-staged-sync"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/paradigmxyz/reth"
readme = "README.md"
description = "Puts together all the Reth stages in a unified abstraction"
[dependencies]
# reth
reth-db = {path = "../../crates/storage/db", features = ["mdbx", "test-utils"] }
reth-discv4 = { path = "../../crates/net/discv4" }
reth-network-api = { path = "../../crates/net/network-api" }
reth-network = { path = "../../crates/net/network", features = ["serde"] }
reth-downloaders = { path = "../../crates/net/downloaders" }
reth-primitives = { path = "../../crates/primitives" }
reth-provider = { path = "../../crates/storage/provider", features = ["test-utils"] }
reth-net-nat = { path = "../../crates/net/nat" }
reth-stages = { path = "../stages" }
# io
serde = "1.0"
serde_json = "1.0.91"
# misc
walkdir = "2.3.2"
eyre = "0.6.8"
shellexpand = "3.0.0"
tracing = { workspace = true }
# crypto
rand = { version = "0.8", optional = true }
secp256k1 = { version = "0.27.0", features = [
"global-context",
"rand-std",
"recovery",
] }
# errors
thiserror = "1"
# enr
enr = { version = "0.8.1", features = ["serde", "rust-secp256k1"], optional = true }
# ethers
ethers-core = { version = "2.0.7", default-features = false, optional = true}
ethers-providers = { version = "2.0.7", features = ["ws"], default-features = false, optional = true }
ethers-middleware = { version = "2.0.7", default-features = false, optional = true }
ethers-signers = { version = "2.0.7", default-features = false, optional = true }
# async / futures
async-trait = { version = "0.1", optional = true }
tokio = { version = "1", features = ["io-util", "net", "macros", "rt-multi-thread", "time"], optional = true }
# misc
hex = { version = "0.4", optional = true }
[dev-dependencies]
# HACK(onbjerg): Workaround to enable test-utils when running tests
# Source: https://github.com/rust-lang/cargo/issues/2911#issuecomment-749580481
reth-staged-sync = { path = ".", features = ["test-utils"] }
# reth crates
reth-tracing = { path = "../tracing" }
reth-downloaders = { path = "../net/downloaders" }
# async/futures
futures = "0.3"
tokio = { version = "1", features = ["io-util", "net", "macros", "rt-multi-thread", "time"] }
# crypto
secp256k1 = { version = "0.27.0", features = [
"global-context",
"rand-std",
"recovery",
] }
confy = "0.5"
tempfile = "3.4"
[features]
test-utils = [
"reth-network/test-utils",
"reth-network/test-utils",
"reth-provider/test-utils",
"dep:enr",
"dep:ethers-core",
"dep:hex",
"dep:rand",
"dep:tokio",
"dep:ethers-signers",
"dep:ethers-providers",
"dep:ethers-middleware",
"dep:async-trait"
]
geth-tests = []