chore: use workspace dependencies (#3132)

This commit is contained in:
Waylon Jepsen
2023-06-13 16:46:26 -06:00
committed by GitHub
parent fe40a92f06
commit ea2fcee995
42 changed files with 383 additions and 354 deletions

View File

@@ -10,45 +10,45 @@ repository.workspace = true
[dependencies]
# reth
reth-config = { path = "../../crates/config" }
reth-primitives = { path = "../../crates/primitives", features = ["arbitrary"] }
reth-primitives = { workspace = true, features = ["arbitrary"] }
reth-db = { path = "../../crates/storage/db", features = ["mdbx", "test-utils"] }
# TODO: Temporary use of the test-utils feature
reth-provider = { path = "../../crates/storage/provider", features = ["test-utils"] }
reth-provider = { workspace = true, features = ["test-utils"] }
reth-revm = { path = "../../crates/revm" }
reth-revm-inspectors = { path = "../../crates/revm/revm-inspectors" }
reth-staged-sync = { path = "../../crates/staged-sync" }
reth-stages = { path = "../../crates/stages" }
reth-interfaces = { path = "../../crates/interfaces", features = ["test-utils"] }
reth-transaction-pool = { path = "../../crates/transaction-pool" }
reth-interfaces = { workspace = true, features = ["test-utils"] }
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 = { path = "../../crates/rlp" }
reth-rlp = { workspace = true }
reth-network = { path = "../../crates/net/network", features = ["serde"] }
reth-network-api = { path = "../../crates/net/network-api" }
reth-network-api = { workspace = true }
reth-downloaders = { path = "../../crates/net/downloaders", features = ["test-utils"] }
reth-tracing = { path = "../../crates/tracing" }
reth-tasks = { path = "../../crates/tasks" }
reth-tasks = { workspace = true }
reth-net-nat = { path = "../../crates/net/nat" }
reth-payload-builder = { path = "../../crates/payload/builder" }
reth-payload-builder = { workspace = true }
reth-basic-payload-builder = { path = "../../crates/payload/basic" }
reth-discv4 = { path = "../../crates/net/discv4" }
reth-metrics = { path = "../../crates/metrics" }
reth-metrics = { workspace = true }
jemallocator = { version = "0.5.0", optional = true }
# crypto
secp256k1 = { version = "0.27.0", features = ["global-context", "rand-std", "recovery"] }
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
# tracing
tracing = { workspace = true }
# io
fdlimit = "0.2.1"
serde = "1.0"
serde_json = "1.0"
serde = { workspace = true }
serde_json = { workspace = true }
shellexpand = "3.0.0"
dirs-next = "2.0.0"
confy = "0.5"
@@ -68,9 +68,9 @@ tui = "0.19.0"
human_bytes = "0.4.1"
# async
tokio = { version = "1.21", features = ["sync", "macros", "time", "rt-multi-thread"] }
futures = "0.3.25"
pin-project = "1.0"
tokio = { workspace = true, features = ["sync", "macros", "time", "rt-multi-thread"] }
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 = "1.0"
thiserror = { workspace = true }
pretty_assertions = "1.3.0"
[features]