[package] name = "reth-staged-sync" version = "0.1.0" edition.workspace = true rust-version.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true 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 = { workspace = true } reth-network = { path = "../../crates/net/network", features = ["serde"] } reth-downloaders = { path = "../../crates/net/downloaders" } reth-primitives = { workspace = true } reth-provider = { workspace = true, features = ["test-utils"] } reth-net-nat = { path = "../../crates/net/nat" } reth-stages = { path = "../stages" } reth-interfaces = { workspace = true } # io serde = "1.0" serde_json = { workspace = true } # misc walkdir = "2.3.2" eyre = "0.6.8" shellexpand = "3.0.0" tracing = { workspace = true } # crypto rand = { workspace = true, optional = true } secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] } # errors thiserror = { workspace = true } # enr enr = { version = "0.8.1", features = ["serde", "rust-secp256k1"], optional = true } # ethers ethers-core = { workspace = true, default-features = false, optional = true } ethers-providers = { workspace = true, features = [ "ws", ], default-features = false, optional = true } ethers-middleware = { workspace = true, default-features = false, optional = true } ethers-signers = { workspace = true, default-features = false, optional = true } # async / futures async-trait = { workspace = true, optional = true } tokio = { workspace = true, 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 = { workspace = true } tokio = { workspace = true, features = ["io-util", "net", "macros", "rt-multi-thread", "time"] } # crypto secp256k1 = { workspace = true, 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 = []