diff --git a/bin/reth/Cargo.toml b/bin/reth/Cargo.toml index 2c0965dfa..5655605d9 100644 --- a/bin/reth/Cargo.toml +++ b/bin/reth/Cargo.toml @@ -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" diff --git a/crates/blockchain-tree/Cargo.toml b/crates/blockchain-tree/Cargo.toml index f7c031648..ba0256055 100644 --- a/crates/blockchain-tree/Cargo.toml +++ b/crates/blockchain-tree/Cargo.toml @@ -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" diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index c278440cf..d50b42d0f 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -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"] } diff --git a/crates/consensus/auto-seal/Cargo.toml b/crates/consensus/auto-seal/Cargo.toml index 0805bba21..49a37d9e6 100644 --- a/crates/consensus/auto-seal/Cargo.toml +++ b/crates/consensus/auto-seal/Cargo.toml @@ -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"] } diff --git a/crates/consensus/beacon/Cargo.toml b/crates/consensus/beacon/Cargo.toml index bb676f71d..6b23c3964 100644 --- a/crates/consensus/beacon/Cargo.toml +++ b/crates/consensus/beacon/Cargo.toml @@ -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] diff --git a/crates/consensus/common/Cargo.toml b/crates/consensus/common/Cargo.toml index 55253ae5e..8611aa231 100644 --- a/crates/consensus/common/Cargo.toml +++ b/crates/consensus/common/Cargo.toml @@ -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"] } diff --git a/crates/interfaces/Cargo.toml b/crates/interfaces/Cargo.toml index be012c7aa..c0525a778 100644 --- a/crates/interfaces/Cargo.toml +++ b/crates/interfaces/Cargo.toml @@ -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", diff --git a/crates/net/common/Cargo.toml b/crates/net/common/Cargo.toml index 998c9212f..17c953dff 100644 --- a/crates/net/common/Cargo.toml +++ b/crates/net/common/Cargo.toml @@ -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"] } diff --git a/crates/net/discv4/Cargo.toml b/crates/net/discv4/Cargo.toml index 1775e98eb..2c5bd92cb 100644 --- a/crates/net/discv4/Cargo.toml +++ b/crates/net/discv4/Cargo.toml @@ -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" } diff --git a/crates/net/dns/Cargo.toml b/crates/net/dns/Cargo.toml index 4fe6d4c45..14054205d 100644 --- a/crates/net/dns/Cargo.toml +++ b/crates/net/dns/Cargo.toml @@ -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 } diff --git a/crates/net/downloaders/Cargo.toml b/crates/net/downloaders/Cargo.toml index 36179fe07..b5ca3d6b5 100644 --- a/crates/net/downloaders/Cargo.toml +++ b/crates/net/downloaders/Cargo.toml @@ -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" diff --git a/crates/net/ecies/Cargo.toml b/crates/net/ecies/Cargo.toml index 67e146d68..9a83e64bc 100644 --- a/crates/net/ecies/Cargo.toml +++ b/crates/net/ecies/Cargo.toml @@ -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"] } diff --git a/crates/net/eth-wire/Cargo.toml b/crates/net/eth-wire/Cargo.toml index 987f7505d..19a78317c 100644 --- a/crates/net/eth-wire/Cargo.toml +++ b/crates/net/eth-wire/Cargo.toml @@ -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"] } diff --git a/crates/net/nat/Cargo.toml b/crates/net/nat/Cargo.toml index f0fe8f3e2..ee127ea40 100644 --- a/crates/net/nat/Cargo.toml +++ b/crates/net/nat/Cargo.toml @@ -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] diff --git a/crates/net/network-api/Cargo.toml b/crates/net/network-api/Cargo.toml index 0769c5dae..acd433d78 100644 --- a/crates/net/network-api/Cargo.toml +++ b/crates/net/network-api/Cargo.toml @@ -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] diff --git a/crates/net/network/Cargo.toml b/crates/net/network/Cargo.toml index 3e5195c1c..a4008f5ca 100644 --- a/crates/net/network/Cargo.toml +++ b/crates/net/network/Cargo.toml @@ -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 } diff --git a/crates/payload/basic/Cargo.toml b/crates/payload/basic/Cargo.toml index a2a9f3288..874c9842d 100644 --- a/crates/payload/basic/Cargo.toml +++ b/crates/payload/basic/Cargo.toml @@ -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 diff --git a/crates/payload/builder/Cargo.toml b/crates/payload/builder/Cargo.toml index b83236fd9..664fae703 100644 --- a/crates/payload/builder/Cargo.toml +++ b/crates/payload/builder/Cargo.toml @@ -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 = [] diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index 10e47b7a3..cd4913698 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -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"] } diff --git a/crates/prune/Cargo.toml b/crates/prune/Cargo.toml index 8db44ce6b..13d5ae4f9 100644 --- a/crates/prune/Cargo.toml +++ b/crates/prune/Cargo.toml @@ -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" diff --git a/crates/revm/Cargo.toml b/crates/revm/Cargo.toml index e80ab708c..037a717d4 100644 --- a/crates/revm/Cargo.toml +++ b/crates/revm/Cargo.toml @@ -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" diff --git a/crates/revm/revm-inspectors/Cargo.toml b/crates/revm/revm-inspectors/Cargo.toml index 874f41dfc..0c411cccd 100644 --- a/crates/revm/revm-inspectors/Cargo.toml +++ b/crates/revm/revm-inspectors/Cargo.toml @@ -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" diff --git a/crates/revm/revm-primitives/Cargo.toml b/crates/revm/revm-primitives/Cargo.toml index 96efb46ff..a17ca3cfb 100644 --- a/crates/revm/revm-primitives/Cargo.toml +++ b/crates/revm/revm-primitives/Cargo.toml @@ -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 diff --git a/crates/rpc/ipc/Cargo.toml b/crates/rpc/ipc/Cargo.toml index 3c6d3832b..e78c8f5de 100644 --- a/crates/rpc/ipc/Cargo.toml +++ b/crates/rpc/ipc/Cargo.toml @@ -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"] } diff --git a/crates/rpc/rpc-api/Cargo.toml b/crates/rpc/rpc-api/Cargo.toml index a6dde25c1..7b220ba11 100644 --- a/crates/rpc/rpc-api/Cargo.toml +++ b/crates/rpc/rpc-api/Cargo.toml @@ -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"] diff --git a/crates/rpc/rpc-builder/Cargo.toml b/crates/rpc/rpc-builder/Cargo.toml index 07753d133..aeb1d300d 100644 --- a/crates/rpc/rpc-builder/Cargo.toml +++ b/crates/rpc/rpc-builder/Cargo.toml @@ -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 diff --git a/crates/rpc/rpc-engine-api/Cargo.toml b/crates/rpc/rpc-engine-api/Cargo.toml index 219edaca6..fc09c6001 100644 --- a/crates/rpc/rpc-engine-api/Cargo.toml +++ b/crates/rpc/rpc-engine-api/Cargo.toml @@ -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"] } diff --git a/crates/rpc/rpc-testing-util/Cargo.toml b/crates/rpc/rpc-testing-util/Cargo.toml index 7fc6976a8..93415adb6 100644 --- a/crates/rpc/rpc-testing-util/Cargo.toml +++ b/crates/rpc/rpc-testing-util/Cargo.toml @@ -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"] } diff --git a/crates/rpc/rpc-types/Cargo.toml b/crates/rpc/rpc-types/Cargo.toml index 5db05498b..8ca59c36c 100644 --- a/crates/rpc/rpc-types/Cargo.toml +++ b/crates/rpc/rpc-types/Cargo.toml @@ -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" diff --git a/crates/rpc/rpc/Cargo.toml b/crates/rpc/rpc/Cargo.toml index 11111cafb..bfb9421f9 100644 --- a/crates/rpc/rpc/Cargo.toml +++ b/crates/rpc/rpc/Cargo.toml @@ -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"] } diff --git a/crates/stages/Cargo.toml b/crates/stages/Cargo.toml index c8236c3a7..9d975e28e 100644 --- a/crates/stages/Cargo.toml +++ b/crates/stages/Cargo.toml @@ -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"] diff --git a/crates/storage/db/Cargo.toml b/crates/storage/db/Cargo.toml index 4141cabef..9e2d405b1 100644 --- a/crates/storage/db/Cargo.toml +++ b/crates/storage/db/Cargo.toml @@ -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" diff --git a/crates/storage/libmdbx-rs/Cargo.toml b/crates/storage/libmdbx-rs/Cargo.toml index 669b63a54..2895c56f2 100644 --- a/crates/storage/libmdbx-rs/Cargo.toml +++ b/crates/storage/libmdbx-rs/Cargo.toml @@ -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" diff --git a/crates/storage/provider/Cargo.toml b/crates/storage/provider/Cargo.toml index 07a2a9a02..25b1fd3cc 100644 --- a/crates/storage/provider/Cargo.toml +++ b/crates/storage/provider/Cargo.toml @@ -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" diff --git a/crates/tasks/Cargo.toml b/crates/tasks/Cargo.toml index 183224bbd..7a754014b 100644 --- a/crates/tasks/Cargo.toml +++ b/crates/tasks/Cargo.toml @@ -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"] } diff --git a/crates/tracing/Cargo.toml b/crates/tracing/Cargo.toml index 63531a08f..444f1b23a 100644 --- a/crates/tracing/Cargo.toml +++ b/crates/tracing/Cargo.toml @@ -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" diff --git a/crates/transaction-pool/Cargo.toml b/crates/transaction-pool/Cargo.toml index c562df71c..6866cf1ea 100644 --- a/crates/transaction-pool/Cargo.toml +++ b/crates/transaction-pool/Cargo.toml @@ -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" diff --git a/crates/trie/Cargo.toml b/crates/trie/Cargo.toml index 9664d3192..428561838 100644 --- a/crates/trie/Cargo.toml +++ b/crates/trie/Cargo.toml @@ -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] diff --git a/testing/ef-tests/Cargo.toml b/testing/ef-tests/Cargo.toml index c394b9a8d..d415acde4 100644 --- a/testing/ef-tests/Cargo.toml +++ b/testing/ef-tests/Cargo.toml @@ -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" \ No newline at end of file