From 7efd5b09d210757ec9063acfd1904d372fb338d5 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sun, 24 Mar 2024 02:29:36 +0100 Subject: [PATCH] chore: move paste to workspace deps (#7306) --- Cargo.toml | 1 + crates/stages/Cargo.toml | 2 +- crates/storage/db/Cargo.toml | 4 ++-- crates/transaction-pool/Cargo.toml | 6 +++--- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4f2635d94523..20038743c3fd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -251,6 +251,7 @@ nybbles = "0.2.1" smallvec = "1" dyn-clone = "1.0.17" sha2 = { version = "0.10", default-features = false } +paste = "1.0" # proc-macros proc-macro2 = "1.0" diff --git a/crates/stages/Cargo.toml b/crates/stages/Cargo.toml index d51005a497de..9d8e72fda8a9 100644 --- a/crates/stages/Cargo.toml +++ b/crates/stages/Cargo.toml @@ -66,7 +66,7 @@ itertools.workspace = true tokio = { workspace = true, features = ["rt", "sync", "macros"] } assert_matches.workspace = true rand.workspace = true -paste = "1.0" +paste.workspace = true # Stage benchmarks pprof = { workspace = true, features = ["flamegraph", "frame-pointer", "criterion"] } diff --git a/crates/storage/db/Cargo.toml b/crates/storage/db/Cargo.toml index 67d27b964be8..26ce09291829 100644 --- a/crates/storage/db/Cargo.toml +++ b/crates/storage/db/Cargo.toml @@ -36,7 +36,7 @@ thiserror.workspace = true tempfile = { workspace = true, optional = true } derive_more.workspace = true eyre.workspace = true -paste = "1.0" +paste.workspace = true rustc-hash = "1.1.0" # arbitrary utils @@ -66,7 +66,7 @@ arbitrary = { workspace = true, features = ["derive"] } proptest.workspace = true proptest-derive.workspace = true -paste = "1.0" +paste.workspace = true assert_matches.workspace = true diff --git a/crates/transaction-pool/Cargo.toml b/crates/transaction-pool/Cargo.toml index e496aebc5050..59af6730290f 100644 --- a/crates/transaction-pool/Cargo.toml +++ b/crates/transaction-pool/Cargo.toml @@ -45,15 +45,15 @@ itertools.workspace = true # testing rand = { workspace = true, optional = true } -paste = { version = "1.0", optional = true } +paste = { workspace = true, optional = true } proptest = { workspace = true, optional = true } [dev-dependencies] reth-primitives = { workspace = true, features = ["arbitrary"] } reth-provider = { workspace = true, features = ["test-utils"] } reth-tracing.workspace = true -paste = "1.0" -rand = "0.8" +paste.workspace = true +rand.workspace = true proptest.workspace = true criterion.workspace = true pprof = { workspace = true, features = ["criterion", "flamegraph"] }