chore(deps): move more things to workspace (#4881)

This commit is contained in:
Matthias Seitz
2023-10-02 22:45:36 +02:00
committed by GitHub
parent fbfca3f55f
commit f59db3151d
14 changed files with 54 additions and 27 deletions

View File

@ -25,7 +25,7 @@ secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recov
# misc
confy.workspace = true
tempfile = "3.4"
tempfile.workspace = true
[dev-dependencies]
toml.workspace = true

View File

@ -39,7 +39,7 @@ secp256k1 = { workspace = true, default-features = false, features = [
], optional = true }
modular-bitfield = "0.11.2"
parking_lot.workspace = true
clap = { version = "4", features = ["derive"], optional = true }
clap = { workspace = true, features = ["derive"], optional = true }
[dev-dependencies]
reth-db = { workspace = true, features = ["test-utils"] }

View File

@ -34,7 +34,7 @@ thiserror.workspace = true
# optional deps for the test-utils feature
alloy-rlp = { workspace = true, optional = true }
tempfile = { version = "3.3", optional = true }
tempfile = { workspace = true, optional = true }
itertools = { workspace = true, optional = true }
[dev-dependencies]
@ -47,7 +47,7 @@ tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
alloy-rlp.workspace = true
itertools.workspace = true
tempfile = "3.3"
tempfile.workspace = true
[features]
test-utils = ["dep:alloy-rlp", "dep:tempfile", "dep:itertools"]

View File

@ -63,7 +63,7 @@ rand.workspace = true
secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] }
enr = { workspace = true, features = ["rust-secp256k1"], optional = true }
tempfile = { version = "3.3", optional = true }
tempfile = { workspace = true, optional = true }
[dev-dependencies]
# reth
@ -88,7 +88,7 @@ enr = { workspace = true, features = ["serde", "rust-secp256k1"] }
# misc
serial_test.workspace = true
tempfile = "3.3"
tempfile.workspace = true
[features]
default = ["serde"]

View File

@ -49,8 +49,8 @@ url = "2.3"
once_cell = "1.17.0"
zstd = { version = "0.12", features = ["experimental"] }
paste = "1.0"
rayon = "1.7"
tempfile = "3.3"
rayon.workspace = true
tempfile.workspace = true
sha2 = "0.10.7"
itertools = "0.11"
num_enum = "0.7"
@ -74,7 +74,7 @@ arbitrary = { workspace = true, features = ["derive"] }
proptest.workspace = true
proptest-derive.workspace = true
assert_matches.workspace = true
toml = "0.7.4"
toml.workspace = true
triehash = "0.8"
plain_hasher = "0.2"

View File

@ -72,5 +72,5 @@ futures.workspace = true
[dev-dependencies]
jsonrpsee = { workspace = true, features = ["client"] }
assert_matches.workspace = true
tempfile = "3.5.0"
tempfile.workspace = true
reth-interfaces = { workspace = true, features = ["test-utils"] }

View File

@ -39,7 +39,7 @@ metrics.workspace = true
bytes.workspace = true
page_size = "0.6.0"
thiserror.workspace = true
tempfile = { version = "3.3.0", optional = true }
tempfile = { workspace = true, optional = true }
parking_lot.workspace = true
derive_more = "0.99"
eyre = "0.6.8"
@ -56,7 +56,7 @@ reth-primitives = { workspace = true, features = ["arbitrary"] }
reth-codecs = { path = "../codecs", features = ["arbitrary"] }
reth-interfaces.workspace = true
tempfile = "3.3.0"
tempfile.workspace = true
test-fuzz = "4"
pprof = { version = "0.12", features = ["flamegraph", "frame-pointer", "criterion"] }

View File

@ -33,7 +33,7 @@ pprof = { version = "0.12", features = ["flamegraph", "frame-pointer", "criterio
criterion = "0.5"
rand.workspace = true
rand_xorshift = "0.3"
tempfile = "3"
tempfile.workspace = true
[[bench]]
name = "cursor"

View File

@ -16,12 +16,12 @@ memmap2 = "0.7.1"
bloomfilter = "1"
zstd = { version = "0.12", features = ["experimental", "zdict_builder"] }
ph = "0.8.0"
thiserror = "1.0"
thiserror .workspace = true
bincode = "1.3"
serde = { version = "1.0", features = ["derive"] }
bytes = "1.5"
bytes.workspace = true
cuckoofilter = { version = "0.5.0", features = ["serde_support", "serde_bytes"] }
tempfile = "3.4"
tempfile.workspace = true
sucds = "~0.8"
anyhow = "1.0"

View File

@ -36,7 +36,7 @@ parking_lot.workspace = true
alloy-rlp = { workspace = true, optional = true }
# parallel utils
rayon = "1.7"
rayon.workspace = true
[dev-dependencies]
reth-db = { workspace = true, features = ["test-utils"] }
@ -46,7 +46,7 @@ reth-interfaces = { workspace = true, features = ["test-utils"] }
alloy-rlp.workspace = true
parking_lot.workspace = true
tempfile = "3.3"
tempfile.workspace = true
assert_matches.workspace = true
rand.workspace = true