Files
nanoreth/crates/net/downloaders/Cargo.toml
2023-05-16 15:28:39 +02:00

52 lines
1.4 KiB
TOML

[package]
name = "reth-downloaders"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/paradigmxyz/reth"
readme = "README.md"
description = "Implementations of various block downloaders"
[dependencies]
# reth
reth-interfaces = { path = "../../interfaces" }
reth-primitives = { path = "../../primitives" }
reth-db = { path = "../../storage/db" }
reth-tasks = { path = "../../tasks" }
reth-metrics-derive = { path = "../../metrics/metrics-derive" }
# async
futures = "0.3"
futures-util = "0.3.25"
pin-project = "1.0"
tokio = { version = "1.0", features = ["sync"] }
tokio-stream = "0.1"
tokio-util = { version = "0.7", features = ["codec"] }
# misc
tracing = { workspace = true }
metrics = "0.20.1"
rayon = "1.6.0"
# optional deps for the test-utils feature
thiserror = { version = "1", optional = true }
reth-rlp = { path = "../../rlp", optional = true }
tempfile = { version = "3.3", optional = true }
itertools = { version = "0.10", optional = true }
[dev-dependencies]
reth-db = { path = "../../storage/db", features = ["test-utils"] }
reth-interfaces = { path = "../../interfaces", features = ["test-utils"] }
reth-tracing = { path = "../../tracing" }
assert_matches = "1.5.0"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
reth-rlp = { path = "../../rlp" }
itertools = "0.10"
thiserror = "1"
tempfile = "3.3"
[features]
test-utils = ["dep:reth-rlp", "dep:thiserror", "dep:tempfile", "dep:itertools"]