mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
51 lines
1.4 KiB
TOML
51 lines
1.4 KiB
TOML
[package]
|
|
name = "reth-downloaders"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
description = "Implementations of various block downloaders"
|
|
|
|
[dependencies]
|
|
# reth
|
|
reth-interfaces = { workspace = true }
|
|
reth-primitives = { workspace = true }
|
|
reth-db = { path = "../../storage/db" }
|
|
reth-tasks = { workspace = true }
|
|
reth-metrics = { workspace = true }
|
|
|
|
# async
|
|
futures = { workspace = true }
|
|
futures-util = { workspace = true }
|
|
pin-project = { workspace = true }
|
|
tokio = { workspace = true, features = ["sync"] }
|
|
tokio-stream = { workspace = true }
|
|
tokio-util = { workspace = true, features = ["codec"] }
|
|
|
|
# misc
|
|
tracing = { workspace = true }
|
|
rayon = "1.6.0"
|
|
thiserror = { workspace = true }
|
|
|
|
# optional deps for the test-utils feature
|
|
reth-rlp = { workspace = true, 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 = { workspace = true, features = ["test-utils"] }
|
|
reth-tracing = { path = "../../tracing" }
|
|
|
|
assert_matches = "1.5.0"
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
|
|
reth-rlp = { workspace = true }
|
|
itertools = "0.10"
|
|
|
|
tempfile = "3.3"
|
|
|
|
[features]
|
|
test-utils = ["dep:reth-rlp", "dep:tempfile", "dep:itertools"]
|