chore: simplify workspace = true usage (#3930)

This commit is contained in:
Matthias Seitz
2023-07-26 17:21:09 +02:00
committed by GitHub
parent caa26833a5
commit 8cdb097829
39 changed files with 274 additions and 274 deletions

View File

@ -18,36 +18,36 @@ reth-revm = { path = "../../crates/revm" }
reth-revm-inspectors = { path = "../../crates/revm/revm-inspectors" }
reth-stages = { path = "../../crates/stages" }
reth-interfaces = { workspace = true, features = ["test-utils", "clap"] }
reth-transaction-pool = { workspace = true }
reth-transaction-pool.workspace = true
reth-beacon-consensus = { path = "../../crates/consensus/beacon" }
reth-auto-seal-consensus = { path = "../../crates/consensus/auto-seal" }
reth-blockchain-tree = { path = "../../crates/blockchain-tree" }
reth-rpc-engine-api = { path = "../../crates/rpc/rpc-engine-api" }
reth-rpc-builder = { path = "../../crates/rpc/rpc-builder" }
reth-rpc = { path = "../../crates/rpc/rpc" }
reth-rlp = { workspace = true }
reth-rlp.workspace = true
reth-network = { path = "../../crates/net/network", features = ["serde"] }
reth-network-api = { workspace = true }
reth-network-api.workspace = true
reth-downloaders = { path = "../../crates/net/downloaders", features = ["test-utils"] }
reth-tracing = { path = "../../crates/tracing" }
reth-tasks = { workspace = true }
reth-tasks.workspace = true
reth-net-nat = { path = "../../crates/net/nat" }
reth-payload-builder = { workspace = true }
reth-payload-builder.workspace = true
reth-basic-payload-builder = { path = "../../crates/payload/basic" }
reth-discv4 = { path = "../../crates/net/discv4" }
reth-metrics = { workspace = true }
reth-metrics.workspace = true
reth-prune = { path = "../../crates/prune" }
# crypto
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
# tracing
tracing = { workspace = true }
tracing.workspace = true
# io
fdlimit = "0.2.1"
serde = { workspace = true }
serde_json = { workspace = true }
serde.workspace = true
serde_json.workspace = true
shellexpand = "3.0.0"
dirs-next = "2.0.0"
confy = "0.5"
@ -69,8 +69,8 @@ human_bytes = "0.4.1"
# async
tokio = { workspace = true, features = ["sync", "macros", "time", "rt-multi-thread"] }
futures = { workspace = true }
pin-project = { workspace = true }
futures.workspace = true
pin-project.workspace = true
# http/rpc
hyper = "0.14.25"
@ -81,7 +81,7 @@ clap = { version = "4", features = ["derive"] }
tempfile = { version = "3.3.0" }
backon = "0.4"
hex = "0.4"
thiserror = { workspace = true }
thiserror.workspace = true
pretty_assertions = "1.3.0"
humantime = "2.1.0"
const-str = "0.5.6"

View File

@ -15,17 +15,17 @@ normal = [
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-interfaces = { workspace = true }
reth-primitives.workspace = true
reth-interfaces.workspace = true
reth-db = { path = "../storage/db" }
reth-metrics = { workspace = true, features = ["common"] }
reth-provider = { workspace = true }
reth-provider.workspace = true
reth-stages = { path = "../stages" }
# common
parking_lot = { version = "0.12" }
lru = "0.10"
tracing = { workspace = true }
tracing.workspace = true
# mics
aquamarine = "0.3.0"

View File

@ -17,8 +17,8 @@ reth-stages = { path = "../../crates/stages" }
reth-primitives = { path = "../primitives" }
# io
serde = { workspace = true }
serde_json = { workspace = true }
serde.workspace = true
serde_json.workspace = true
# crypto
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }

View File

@ -11,18 +11,18 @@ description = "A consensus impl for local testing purposes"
[dependencies]
# reth
reth-beacon-consensus = { path = "../beacon" }
reth-primitives = { workspace = true }
reth-interfaces = { workspace = true }
reth-provider = { workspace = true }
reth-primitives.workspace = true
reth-interfaces.workspace = true
reth-provider.workspace = true
reth-stages = { path = "../../stages" }
reth-revm = { path = "../../revm" }
reth-transaction-pool = { workspace = true }
reth-transaction-pool.workspace = true
# async
futures-util = { workspace = true }
futures-util.workspace = true
tokio = { workspace = true, features = ["sync", "time"] }
tokio-stream = { workspace = true }
tracing = { workspace = true }
tokio-stream.workspace = true
tracing.workspace = true
[dev-dependencies]
reth-interfaces = { workspace = true, features = ["test-utils"] }

View File

@ -10,25 +10,25 @@ repository.workspace = true
[dependencies]
# reth
reth-consensus-common = { path = "../common" }
reth-primitives = { workspace = true }
reth-interfaces = { workspace = true }
reth-primitives.workspace = true
reth-interfaces.workspace = true
reth-stages = { path = "../../stages" }
reth-db = { path = "../../storage/db" }
reth-provider = { workspace = true }
reth-rpc-types = { workspace = true }
reth-tasks = { workspace = true }
reth-payload-builder = { workspace = true }
reth-metrics = { workspace = true }
reth-provider.workspace = true
reth-rpc-types.workspace = true
reth-tasks.workspace = true
reth-payload-builder.workspace = true
reth-metrics.workspace = true
reth-prune = { path = "../../prune" }
# async
tokio = { workspace = true, features = ["sync"] }
tokio-stream = { workspace = true }
futures = { workspace = true }
tokio-stream.workspace = true
futures.workspace = true
# misc
tracing = { workspace = true }
thiserror = { workspace = true }
tracing.workspace = true
thiserror.workspace = true
schnellru = "0.2"
[dev-dependencies]

View File

@ -9,9 +9,9 @@ repository.workspace = true
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-interfaces = { workspace = true }
reth-provider = { workspace = true }
reth-primitives.workspace = true
reth-interfaces.workspace = true
reth-provider.workspace = true
[dev-dependencies]
reth-interfaces = { workspace = true, features = ["test-utils"] }

View File

@ -9,27 +9,27 @@ repository.workspace = true
[dependencies]
reth-codecs = { path = "../storage/codecs" }
reth-primitives = { workspace = true }
reth-rpc-types = { workspace = true }
reth-network-api = { workspace = true }
reth-primitives.workspace = true
reth-rpc-types.workspace = true
reth-network-api.workspace = true
# TODO(onbjerg): We only need this for [BlockBody]
reth-eth-wire = { path = "../net/eth-wire" }
# eth
revm-primitives = { workspace = true }
revm-primitives.workspace = true
parity-scale-codec = { version = "3.2.1", features = ["bytes"] }
# async
async-trait = { workspace = true }
futures = { workspace = true }
async-trait.workspace = true
futures.workspace = true
tokio = { workspace = true, features = ["sync"] }
tokio-stream = { workspace = true }
tokio-stream.workspace = true
# misc
auto_impl = "1.0"
thiserror = { workspace = true }
tracing = { workspace = true }
rand = { workspace = true }
thiserror.workspace = true
tracing.workspace = true
rand.workspace = true
arbitrary = { version = "1.1.7", features = ["derive"], optional = true }
secp256k1 = { workspace = true, default-features = false, features = [
"alloc",

View File

@ -12,8 +12,8 @@ Types shared across network code
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-primitives.workspace = true
# async
pin-project = { workspace = true }
pin-project.workspace = true
tokio = { workspace = true, features = ["full"] }

View File

@ -12,8 +12,8 @@ Ethereum network discovery
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-rlp = { workspace = true }
reth-primitives.workspace = true
reth-rlp.workspace = true
reth-rlp-derive = { path = "../../rlp/rlp-derive" }
reth-net-common = { path = "../common" }
reth-net-nat = { path = "../nat" }
@ -25,18 +25,18 @@ enr = { version = "0.8.1", default-features = false, features = ["rust-secp256k1
# async/futures
tokio = { workspace = true, features = ["io-util", "net", "time"] }
tokio-stream = { workspace = true }
tokio-stream.workspace = true
# misc
tracing = { workspace = true }
thiserror = { workspace = true }
tracing.workspace = true
thiserror.workspace = true
hex = "0.4"
rand = { workspace = true, optional = true }
generic-array = "0.14"
serde = { workspace = true, optional = true }
[dev-dependencies]
rand = { workspace = true }
rand.workspace = true
tokio = { workspace = true, features = ["macros"] }
reth-tracing = { path = "../../tracing" }

View File

@ -10,9 +10,9 @@ description = "Support for EIP-1459 Node Discovery via DNS"
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-primitives.workspace = true
reth-net-common = { path = "../common" }
reth-rlp = { workspace = true }
reth-rlp.workspace = true
# ethereum
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery", "serde"] }
@ -20,18 +20,18 @@ enr = { version = "0.8.1", default-features = false, features = ["rust-secp256k1
# async/futures
tokio = { workspace = true, features = ["io-util", "net", "time"] }
tokio-stream = { workspace = true }
tokio-stream.workspace = true
# trust-dns
trust-dns-resolver = "0.22"
# misc
data-encoding = "2"
async-trait = { workspace = true }
async-trait.workspace = true
linked_hash_set = "0.1"
schnellru = "0.2"
thiserror = { workspace = true }
tracing = { workspace = true }
thiserror.workspace = true
tracing.workspace = true
parking_lot = "0.12"
serde = { workspace = true, optional = true }
serde_with = { version = "2.1.0", optional = true }

View File

@ -10,24 +10,24 @@ description = "Implementations of various block downloaders"
[dependencies]
# reth
reth-interfaces = { workspace = true }
reth-primitives = { workspace = true }
reth-interfaces.workspace = true
reth-primitives.workspace = true
reth-db = { path = "../../storage/db" }
reth-tasks = { workspace = true }
reth-metrics = { workspace = true }
reth-tasks.workspace = true
reth-metrics.workspace = true
# async
futures = { workspace = true }
futures-util = { workspace = true }
pin-project = { workspace = true }
futures.workspace = true
futures-util.workspace = true
pin-project.workspace = true
tokio = { workspace = true, features = ["sync"] }
tokio-stream = { workspace = true }
tokio-stream.workspace = true
tokio-util = { workspace = true, features = ["codec"] }
# misc
tracing = { workspace = true }
rayon = { workspace = true }
thiserror = { workspace = true }
tracing.workspace = true
rayon.workspace = true
thiserror.workspace = true
# optional deps for the test-utils feature
reth-rlp = { workspace = true, optional = true }
@ -41,7 +41,7 @@ reth-tracing = { path = "../../tracing" }
assert_matches = "1.5.0"
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
reth-rlp = { workspace = true }
reth-rlp.workspace = true
itertools = "0.10"
tempfile = "3.3"

View File

@ -9,18 +9,18 @@ repository.workspace = true
[dependencies]
reth-rlp = { workspace = true, features = ["derive", "ethereum-types", "std"] }
reth-primitives = { workspace = true }
reth-primitives.workspace = true
reth-net-common = { path = "../common" }
futures = { workspace = true }
thiserror = { workspace = true }
futures.workspace = true
thiserror.workspace = true
tokio = { workspace = true, features = ["full"] }
tokio-stream = { workspace = true }
tokio-stream.workspace = true
tokio-util = { workspace = true, features = ["codec"] }
pin-project = { workspace = true }
pin-project.workspace = true
educe = "0.4.19"
tracing = { workspace = true }
tracing.workspace = true
# HeaderBytes
generic-array = "0.14.6"
@ -28,7 +28,7 @@ typenum = "1.15.0"
byteorder = "1.4.3"
# crypto
rand = { workspace = true }
rand.workspace = true
ctr = "0.9.2"
digest = "0.10.5"
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }

View File

@ -10,12 +10,12 @@ repository.workspace = true
[dependencies]
bytes.workspace = true
thiserror = { workspace = true }
thiserror.workspace = true
serde = { workspace = true, optional = true }
# reth
reth-codecs = { path = "../../storage/codecs" }
reth-primitives = { workspace = true }
reth-primitives.workspace = true
reth-ecies = { path = "../ecies" }
reth-rlp = { workspace = true, features = [
"alloc",
@ -24,20 +24,20 @@ reth-rlp = { workspace = true, features = [
"ethereum-types",
"smol_str",
] }
reth-metrics = { workspace = true }
reth-metrics.workspace = true
# used for Chain and builders
ethers-core = { workspace = true, default-features = false }
tokio = { workspace = true, features = ["full"] }
tokio-util = { workspace = true, features = ["io", "codec"] }
futures = { workspace = true }
tokio-stream = { workspace = true }
pin-project = { workspace = true }
tracing = { workspace = true }
futures.workspace = true
tokio-stream.workspace = true
pin-project.workspace = true
tracing.workspace = true
snap = "1.0.5"
smol_str = "0.2"
async-trait = { workspace = true }
async-trait.workspace = true
# arbitrary utils
arbitrary = { version = "1.1.7", features = ["derive"], optional = true }
@ -53,7 +53,7 @@ test-fuzz = "4"
tokio-util = { workspace = true, features = ["io", "codec"] }
hex-literal = "0.3"
hex = "0.4"
rand = { workspace = true }
rand.workspace = true
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
arbitrary = { version = "1.1.7", features = ["derive"] }

View File

@ -18,10 +18,10 @@ public-ip = "0.2"
igd = { git = "https://github.com/stevefan1999-personal/rust-igd", features = ["aio", "tokio1"] }
# misc
tracing = { workspace = true }
tracing.workspace = true
pin-project-lite = "0.2.9"
tokio = { workspace = true, features = ["time"] }
thiserror = { workspace = true }
thiserror.workspace = true
serde_with = { version = "2.1.0", optional = true }
[dev-dependencies]

View File

@ -10,16 +10,16 @@ description = "Network interfaces"
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-primitives.workspace = true
reth-eth-wire = { path = "../eth-wire" }
reth-rpc-types = { workspace = true }
reth-rpc-types.workspace = true
# io
serde = { workspace = true, features = ["derive"], optional = true }
# misc
async-trait = { workspace = true }
thiserror = { workspace = true }
async-trait.workspace = true
thiserror.workspace = true
tokio = { workspace = true, features = ["sync"] }
[features]

View File

@ -18,27 +18,27 @@ normal = [
[dependencies]
# reth
reth-interfaces = { workspace = true }
reth-primitives = { workspace = true }
reth-interfaces.workspace = true
reth-primitives.workspace = true
reth-net-common = { path = "../common" }
reth-network-api = { workspace = true }
reth-network-api.workspace = true
reth-discv4 = { path = "../discv4" }
reth-dns-discovery = { path = "../dns" }
reth-eth-wire = { path = "../eth-wire" }
reth-ecies = { path = "../ecies" }
reth-rlp = { workspace = true }
reth-rlp.workspace = true
reth-rlp-derive = { path = "../../rlp/rlp-derive" }
reth-tasks = { workspace = true }
reth-transaction-pool = { workspace = true }
reth-provider = { workspace = true }
reth-tasks.workspace = true
reth-transaction-pool.workspace = true
reth-provider.workspace = true
reth-metrics = { workspace = true, features = ["common"] }
reth-rpc-types = { workspace = true }
reth-rpc-types.workspace = true
# async/futures
futures = { workspace = true }
pin-project = { workspace = true }
futures.workspace = true
pin-project.workspace = true
tokio = { workspace = true, features = ["io-util", "net", "macros", "rt-multi-thread", "time"] }
tokio-stream = { workspace = true }
tokio-stream.workspace = true
tokio-util = { workspace = true, features = ["codec"] }
# io
@ -49,14 +49,14 @@ serde_json = { workspace = true, optional = true }
# misc
auto_impl = "1"
aquamarine = "0.3.0"
tracing = { workspace = true }
tracing.workspace = true
fnv = "1.0"
thiserror = { workspace = true }
thiserror.workspace = true
parking_lot = "0.12"
async-trait = { workspace = true }
async-trait.workspace = true
linked_hash_set = "0.1"
linked-hash-map = "0.5.6"
rand = { workspace = true }
rand.workspace = true
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
enr = { version = "0.8.1", features = ["rust-secp256k1"], optional = true }

View File

@ -10,22 +10,22 @@ description = "A basic payload builder for reth that uses the txpool API to buil
[dependencies]
## reth
reth-primitives = { workspace = true }
reth-primitives.workspace = true
reth-revm = { path = "../../revm" }
reth-transaction-pool = { workspace = true }
reth-rlp = { workspace = true }
reth-provider = { workspace = true }
reth-payload-builder = { workspace = true }
reth-tasks = { workspace = true }
reth-metrics = { workspace = true }
reth-transaction-pool.workspace = true
reth-rlp.workspace = true
reth-provider.workspace = true
reth-payload-builder.workspace = true
reth-tasks.workspace = true
reth-metrics.workspace = true
## ethereum
revm = { workspace = true }
revm.workspace = true
## async
tokio = { workspace = true, features = ["sync", "time"] }
futures-core = "0.3"
futures-util = { workspace = true }
futures-util.workspace = true
## misc
tracing = { workspace = true }
tracing.workspace = true

View File

@ -10,25 +10,25 @@ description = "reth payload builder"
[dependencies]
## reth
reth-primitives = { workspace = true }
reth-rpc-types = { workspace = true }
reth-rlp = { workspace = true }
reth-interfaces = { workspace = true }
reth-primitives.workspace = true
reth-rpc-types.workspace = true
reth-rlp.workspace = true
reth-interfaces.workspace = true
reth-revm-primitives = { path = "../../revm/revm-primitives" }
reth-metrics = { workspace = true }
reth-metrics.workspace = true
## ethereum
revm-primitives = { workspace = true }
revm-primitives.workspace = true
## async
tokio = { workspace = true, features = ["sync"] }
tokio-stream = { workspace = true }
futures-util = { workspace = true }
tokio-stream.workspace = true
futures-util.workspace = true
## misc
thiserror = { workspace = true }
thiserror.workspace = true
sha2 = { version = "0.10", default-features = false }
tracing = { workspace = true }
tracing.workspace = true
[features]
test-utils = []

View File

@ -35,18 +35,18 @@ secp256k1 = { workspace = true, default-features = false, features = [
crc = "3"
# tracing
tracing = { workspace = true }
tracing.workspace = true
# tokio
tokio = { workspace = true, default-features = false, features = ["sync"] }
tokio-stream = { workspace = true }
tokio-stream.workspace = true
# misc
bytes.workspace = true
serde = { workspace = true }
serde_json = { workspace = true }
serde.workspace = true
serde_json.workspace = true
serde_with = "2.1.0"
thiserror = { workspace = true }
thiserror.workspace = true
sucds = "0.5.0"
hex = "0.4"
hex-literal = "0.3"
@ -71,10 +71,10 @@ proptest-derive = { version = "0.3", optional = true }
strum = { workspace = true, features = ["derive"] }
[dev-dependencies]
serde_json = { workspace = true }
serde_json.workspace = true
hex-literal = "0.3"
test-fuzz = "4"
rand = { workspace = true }
rand.workspace = true
revm-primitives = { workspace = true, features = ["arbitrary"] }
arbitrary = { version = "1.1.7", features = ["derive"] }
proptest = { version = "1.0" }
@ -84,7 +84,7 @@ toml = "0.7.4"
# necessary so we don't hit a "undeclared 'std'":
# https://github.com/paradigmxyz/reth/pull/177#discussion_r1021172198
secp256k1 = { workspace = true }
secp256k1.workspace = true
criterion = "0.5"
pprof = { version = "0.12", features = ["flamegraph", "frame-pointer", "criterion"] }

View File

@ -12,14 +12,14 @@ Pruning implementation
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-db = { workspace = true }
reth-provider = { workspace = true }
reth-interfaces = { workspace = true }
reth-primitives.workspace = true
reth-db.workspace = true
reth-provider.workspace = true
reth-interfaces.workspace = true
# misc
tracing = { workspace = true }
thiserror = { workspace = true }
tracing.workspace = true
thiserror.workspace = true
itertools = "0.10"
rayon = "1.6.0"

View File

@ -10,19 +10,19 @@ description = "reth specific revm utilities"
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-interfaces = { workspace = true }
reth-provider = { workspace = true }
reth-primitives.workspace = true
reth-interfaces.workspace = true
reth-provider.workspace = true
reth-revm-primitives = { path = "./revm-primitives" }
reth-revm-inspectors = { path = "./revm-inspectors" }
reth-consensus-common = { path = "../consensus/common" }
# revm
revm = { workspace = true }
revm.workspace = true
# common
tracing = { workspace = true }
tracing.workspace = true
[dev-dependencies]
reth-rlp = { workspace = true }
reth-rlp.workspace = true
once_cell = "1.17.0"

View File

@ -10,10 +10,10 @@ description = "revm inspector implementations used by reth"
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-rpc-types = { workspace = true }
reth-primitives.workspace = true
reth-rpc-types.workspace = true
revm = { workspace = true }
revm.workspace = true
# remove from reth and reexport from revm
hashbrown = "0.13"

View File

@ -10,6 +10,6 @@ description = "core reth specific revm utilities"
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-primitives.workspace = true
revm = { workspace = true }
revm.workspace = true

View File

@ -13,21 +13,21 @@ IPC support for reth
[dependencies]
# async/net
futures = { workspace = true }
futures.workspace = true
parity-tokio-ipc = "0.9.0"
tokio = { workspace = true, features = ["net", "time", "rt-multi-thread"] }
tokio-util = { workspace = true, features = ["codec"] }
tokio-stream = { workspace = true }
async-trait = { workspace = true }
pin-project = { workspace = true }
tokio-stream.workspace = true
async-trait.workspace = true
pin-project.workspace = true
tower = "0.4"
# misc
jsonrpsee = { version = "0.18", features = ["server", "client"] }
serde_json = { workspace = true }
tracing = { workspace = true }
bytes = { workspace = true }
thiserror = { workspace = true }
serde_json.workspace = true
tracing.workspace = true
bytes.workspace = true
thiserror.workspace = true
[dev-dependencies]
tokio-stream = { workspace = true, features = ["sync"] }

View File

@ -12,12 +12,12 @@ Reth RPC interfaces
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-rpc-types = { workspace = true }
reth-primitives.workspace = true
reth-rpc-types.workspace = true
# misc
jsonrpsee = { version = "0.18", features = ["server", "macros"] }
serde_json = { workspace = true }
serde_json.workspace = true
[features]
client = ["jsonrpsee/client", "jsonrpsee/async-client"]

View File

@ -10,17 +10,17 @@ description = "Helpers for configuring RPC"
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-primitives.workspace = true
reth-ipc = { path = "../ipc" }
reth-interfaces = { workspace = true }
reth-network-api = { workspace = true }
reth-provider = { workspace = true }
reth-interfaces.workspace = true
reth-network-api.workspace = true
reth-provider.workspace = true
reth-rpc = { path = "../rpc" }
reth-rpc-api = { path = "../rpc-api" }
reth-rpc-engine-api = { path = "../rpc-engine-api" }
reth-rpc-types = { workspace = true }
reth-tasks = { workspace = true }
reth-transaction-pool = { workspace = true }
reth-rpc-types.workspace = true
reth-tasks.workspace = true
reth-transaction-pool.workspace = true
reth-metrics = { workspace = true, features = ["common"] }
# rpc/net
@ -32,10 +32,10 @@ hyper = "0.14"
# misc
strum = { workspace = true, features = ["derive"] }
serde = { workspace = true, features = ["derive"] }
thiserror = { workspace = true }
tracing = { workspace = true }
rayon = { workspace = true }
pin-project = { workspace = true }
thiserror.workspace = true
tracing.workspace = true
rayon.workspace = true
pin-project.workspace = true
tokio = { workspace = true, features = ["sync"] }
[dev-dependencies]
@ -43,10 +43,10 @@ reth-tracing = { path = "../../tracing" }
reth-rpc-api = { path = "../rpc-api", features = ["client"] }
reth-transaction-pool = { workspace = true, features = ["test-utils"] }
reth-provider = { workspace = true, features = ["test-utils"] }
reth-network-api = { workspace = true }
reth-network-api.workspace = true
reth-interfaces = { workspace = true, features = ["test-utils"] }
reth-beacon-consensus = { path = "../../consensus/beacon" }
reth-payload-builder = { workspace = true, features = ["test-utils"] }
tokio = { workspace = true, features = ["rt", "rt-multi-thread"] }
serde_json = { workspace = true }
serde_json.workspace = true

View File

@ -10,24 +10,24 @@ description = "Implementation of Engine API"
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-interfaces = { workspace = true }
reth-provider = { workspace = true }
reth-rpc-types = { workspace = true }
reth-primitives.workspace = true
reth-interfaces.workspace = true
reth-provider.workspace = true
reth-rpc-types.workspace = true
reth-rpc-api = { path = "../rpc-api" }
reth-beacon-consensus = { path = "../../consensus/beacon" }
reth-payload-builder = { workspace = true }
reth-tasks = { workspace = true }
reth-payload-builder.workspace = true
reth-tasks.workspace = true
# async
tokio = { workspace = true, features = ["sync"] }
# misc
async-trait = { workspace = true }
thiserror = { workspace = true }
async-trait.workspace = true
thiserror.workspace = true
jsonrpsee-types = "0.18"
jsonrpsee-core = "0.18"
tracing = { workspace = true }
tracing.workspace = true
[dev-dependencies]
reth-interfaces = { workspace = true, features = ["test-utils"] }

View File

@ -12,13 +12,13 @@ Reth RPC testing helpers
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-rpc-types = { workspace = true }
reth-primitives.workspace = true
reth-rpc-types.workspace = true
reth-rpc-api = { path = "../rpc-api", default-features = false, features = ["client"] }
# async
async-trait = { workspace = true }
futures = { workspace = true }
async-trait.workspace = true
futures.workspace = true
# misc
jsonrpsee = { version = "0.18", features = ["client", "async-client"] }

View File

@ -12,15 +12,15 @@ Reth RPC types
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-rlp = { workspace = true }
reth-primitives.workspace = true
reth-rlp.workspace = true
# errors
thiserror = { workspace = true }
thiserror.workspace = true
# misc
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
serde_json.workspace = true
jsonrpsee-types = { version = "0.18" }
[dev-dependencies]
@ -28,6 +28,6 @@ jsonrpsee-types = { version = "0.18" }
reth-interfaces = { workspace = true, features = ["test-utils"] }
# misc
rand = { workspace = true }
rand.workspace = true
assert_matches = "1.5"
similar-asserts = "1.4"

View File

@ -11,18 +11,18 @@ Reth RPC implementation
"""
[dependencies]
# reth
reth-interfaces = { workspace = true }
reth-primitives = { workspace = true }
reth-interfaces.workspace = true
reth-primitives.workspace = true
reth-rpc-api = { path = "../rpc-api" }
reth-rlp = { workspace = true }
reth-rpc-types = { workspace = true }
reth-rlp.workspace = true
reth-rpc-types.workspace = true
reth-provider = { workspace = true, features = ["test-utils"] }
reth-transaction-pool = { workspace = true, features = ["test-utils"] }
reth-network-api = { workspace = true }
reth-network-api.workspace = true
reth-rpc-engine-api = { path = "../rpc-engine-api" }
reth-revm = { path = "../../revm" }
reth-tasks = { workspace = true }
reth-metrics = { workspace = true }
reth-tasks.workspace = true
reth-metrics.workspace = true
reth-consensus-common = { path = "../../consensus/common" }
# eth
@ -42,24 +42,24 @@ hyper = "0.14.24"
jsonwebtoken = "8"
# async
async-trait = { workspace = true }
async-trait.workspace = true
tokio = { workspace = true, features = ["sync"] }
tower = "0.4"
tokio-stream = { workspace = true, features = ["sync"] }
tokio-util = "0.7"
pin-project = { workspace = true }
pin-project.workspace = true
bytes.workspace = true
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
thiserror = { workspace = true }
serde_json.workspace = true
thiserror.workspace = true
hex = "0.4"
rand = { workspace = true }
tracing = { workspace = true }
rand.workspace = true
tracing.workspace = true
tracing-futures = "0.2"
schnellru = "0.2"
futures = { workspace = true }
futures.workspace = true
[dev-dependencies]
jsonrpsee = { version = "0.18", features = ["client"] }

View File

@ -16,32 +16,32 @@ normal = [
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-interfaces = { workspace = true }
reth-primitives.workspace = true
reth-interfaces.workspace = true
reth-db = { path = "../storage/db" }
reth-codecs = { path = "../storage/codecs" }
reth-provider = { workspace = true }
reth-metrics = { workspace = true }
reth-provider.workspace = true
reth-metrics.workspace = true
reth-trie = { path = "../trie" }
# async
tokio = { workspace = true, features = ["sync"] }
tokio-stream = { workspace = true }
async-trait = { workspace = true }
futures-util = { workspace = true }
pin-project = { workspace = true }
tokio-stream.workspace = true
async-trait.workspace = true
futures-util.workspace = true
pin-project.workspace = true
# observability
tracing = { workspace = true }
tracing.workspace = true
# io
serde = { workspace = true }
serde.workspace = true
# misc
thiserror = { workspace = true }
thiserror.workspace = true
aquamarine = "0.3.0"
itertools = "0.10.5"
rayon = { workspace = true }
rayon.workspace = true
num-traits = "0.2.15"
[dev-dependencies]
@ -52,14 +52,14 @@ reth-interfaces = { workspace = true, features = ["test-utils"] }
reth-downloaders = { path = "../net/downloaders" }
reth-eth-wire = { path = "../net/eth-wire" } # TODO(onbjerg): We only need this for [BlockBody]
reth-blockchain-tree = { path = "../blockchain-tree" }
reth-rlp = { workspace = true }
reth-rlp.workspace = true
reth-revm = { path = "../revm" }
reth-trie = { path = "../trie", features = ["test-utils"] }
itertools = "0.10.5"
tokio = { workspace = true, features = ["rt", "sync", "macros"] }
assert_matches = "1.5.0"
rand = { workspace = true }
rand.workspace = true
paste = "1.0"
# Stage benchmarks
@ -67,7 +67,7 @@ pprof = { version = "0.12", features = ["flamegraph", "frame-pointer", "criterio
criterion = { version = "0.5", features = ["async_futures"] }
# io
serde_json = { workspace = true }
serde_json.workspace = true
[features]
test-utils = ["reth-interfaces/test-utils"]

View File

@ -10,20 +10,20 @@ description = "Staged syncing primitives used in reth."
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-interfaces = { workspace = true }
reth-primitives.workspace = true
reth-interfaces.workspace = true
reth-codecs = { path = "../codecs" }
reth-libmdbx = { path = "../libmdbx-rs", optional = true, features = ["return-borrowed"] }
reth-metrics = { workspace = true }
reth-metrics.workspace = true
# codecs
serde = { workspace = true, default-features = false }
postcard = { version = "1.0.2", features = ["alloc"] }
heapless = "0.7.16"
parity-scale-codec = { version = "3.2.1", features = ["bytes"] }
futures = { workspace = true }
tokio-stream = { workspace = true }
rand = { workspace = true }
futures.workspace = true
tokio-stream.workspace = true
rand.workspace = true
secp256k1 = { workspace = true, default-features = false, features = [
"alloc",
"recovery",
@ -34,7 +34,7 @@ modular-bitfield = "0.11.2"
# misc
bytes.workspace = true
page_size = "0.4.2"
thiserror = { workspace = true }
thiserror.workspace = true
tempfile = { version = "3.3.0", optional = true }
parking_lot = "0.12"
derive_more = "0.99"
@ -49,7 +49,7 @@ proptest-derive = { version = "0.3", optional = true }
# reth libs with arbitrary
reth-primitives = { workspace = true, features = ["arbitrary"] }
reth-codecs = { path = "../codecs", features = ["arbitrary"] }
reth-interfaces = { workspace = true }
reth-interfaces.workspace = true
tempfile = "3.3.0"
test-fuzz = "4"
@ -61,15 +61,15 @@ tokio = { workspace = true, features = ["full"] }
reth-db = { path = ".", features = ["test-utils", "bench"] }
# needed for test-fuzz to work properly, see https://github.com/paradigmxyz/reth/pull/177#discussion_r1021172198
secp256k1 = { workspace = true }
secp256k1.workspace = true
async-trait = { workspace = true }
async-trait.workspace = true
arbitrary = { version = "1.1.7", features = ["derive"] }
proptest = { version = "1.0" }
proptest-derive = "0.3"
serde_json = { workspace = true }
serde_json.workspace = true
paste = "1.0"

View File

@ -18,7 +18,7 @@ derive_more = "0.99"
indexmap = "1"
libc = "0.2"
parking_lot = "0.12"
thiserror = { workspace = true }
thiserror.workspace = true
ffi = { package = "reth-mdbx-sys", path = "./mdbx-sys" }
@ -31,7 +31,7 @@ return-borrowed = []
[dev-dependencies]
pprof = { version = "0.12", features = ["flamegraph", "frame-pointer", "criterion"] }
criterion = "0.5"
rand = { workspace = true }
rand.workspace = true
rand_xorshift = "0.3"
tempfile = "3"

View File

@ -10,8 +10,8 @@ description = "Reth storage provider."
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-interfaces = { workspace = true }
reth-primitives.workspace = true
reth-interfaces.workspace = true
reth-revm-primitives = { path = "../../revm/revm-primitives" }
reth-db = { path = "../db" }
reth-trie = { path = "../../trie" }
@ -21,12 +21,12 @@ tokio = { workspace = true, features = ["sync", "macros", "rt-multi-thread"] }
tokio-stream = { workspace = true, features = ["sync"] }
# tracing
tracing = { workspace = true }
tracing.workspace = true
# misc
auto_impl = "1.0"
itertools = "0.10"
pin-project = { workspace = true }
pin-project.workspace = true
derive_more = "0.99"
parking_lot = "0.12"
@ -36,7 +36,7 @@ reth-rlp = { workspace = true, optional = true }
[dev-dependencies]
reth-db = { path = "../db", features = ["test-utils"] }
reth-primitives = { workspace = true, features = ["arbitrary", "test-utils"] }
reth-rlp = { workspace = true }
reth-rlp.workspace = true
reth-trie = { path = "../../trie", features = ["test-utils"] }
parking_lot = "0.12"
tempfile = "3.3"

View File

@ -13,15 +13,15 @@ description = "Task management"
## async
tokio = { workspace = true, features = ["sync", "rt"] }
tracing-futures = "0.2"
futures-util = { workspace = true }
futures-util.workspace = true
## misc
tracing = { workspace = true }
thiserror = { workspace = true }
tracing.workspace = true
thiserror.workspace = true
dyn-clone = "1.0"
## rpc/metrics
reth-metrics = { workspace = true }
reth-metrics.workspace = true
[dev-dependencies]
tokio = { workspace = true, features = ["sync", "rt", "rt-multi-thread", "time", "macros"] }

View File

@ -9,7 +9,7 @@ repository.workspace = true
description = "tracing helpers"
[dependencies]
tracing = { workspace = true }
tracing.workspace = true
tracing-subscriber = { version = "0.3", default-features = false, features = ["env-filter", "fmt"] }
tracing-appender = "0.2"
tracing-journald = "0.3"

View File

@ -18,24 +18,24 @@ normal = [
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-provider = { workspace = true }
reth-interfaces = { workspace = true }
reth-rlp = { workspace = true }
reth-metrics = { workspace = true }
reth-tasks = { workspace = true }
reth-primitives.workspace = true
reth-provider.workspace = true
reth-interfaces.workspace = true
reth-rlp.workspace = true
reth-metrics.workspace = true
reth-tasks.workspace = true
# async/futures
async-trait = { workspace = true}
futures-util = { workspace = true }
async-trait.workspace = true
futures-util.workspace = true
parking_lot = "0.12"
tokio = { workspace = true, default-features = false, features = ["sync"] }
tokio-stream.workspace = true
# misc
aquamarine = "0.3.0"
thiserror = { workspace = true }
tracing = { workspace = true }
thiserror.workspace = true
tracing.workspace = true
serde = { workspace = true, features = ["derive", "rc"], optional = true }
fnv = "1.0.7"
bitflags = "1.3"

View File

@ -12,20 +12,20 @@ Merkle trie implementation
[dependencies]
# reth
reth-primitives = { workspace = true }
reth-interfaces = { workspace = true }
reth-rlp = { workspace = true }
reth-primitives.workspace = true
reth-interfaces.workspace = true
reth-rlp.workspace = true
reth-db = { path = "../storage/db" }
# tokio
tokio = { workspace = true, default-features = false, features = ["sync"] }
# tracing
tracing = { workspace = true }
tracing.workspace = true
# misc
hex = "0.4"
thiserror = { workspace = true }
thiserror.workspace = true
derive_more = "0.99"
# test-utils
@ -35,7 +35,7 @@ triehash = { version = "0.8", optional = true }
# reth
reth-primitives = { workspace = true, features = ["test-utils", "arbitrary"] }
reth-db = { path = "../storage/db", features = ["test-utils"] }
reth-provider = { workspace = true }
reth-provider.workspace = true
# trie
triehash = "0.8"
@ -43,7 +43,7 @@ triehash = "0.8"
# misc
proptest = "1.0"
tokio = { workspace = true, default-features = false, features = ["sync", "rt", "macros"] }
tokio-stream = { workspace = true }
tokio-stream.workspace = true
criterion = "0.5"
[features]

View File

@ -12,16 +12,16 @@ repository.workspace = true
ef-tests = []
[dependencies]
reth-primitives = { workspace = true }
reth-primitives.workspace = true
reth-db = { path = "../../crates/storage/db", features = ["mdbx", "test-utils"] }
reth-provider = { workspace = true }
reth-provider.workspace = true
reth-stages = { path = "../../crates/stages" }
reth-rlp = { workspace = true }
reth-interfaces = { workspace = true }
reth-rlp.workspace = true
reth-interfaces.workspace = true
reth-revm = { path = "../../crates/revm" }
tokio = "1.28.1"
walkdir = "2.3.3"
serde = "1.0.163"
serde_json = { workspace = true }
thiserror = { workspace = true }
serde_json.workspace = true
thiserror.workspace = true
serde_bytes = "0.11.9"