Skip to content

Commit

Permalink
chore(deps): move more things to workspace (paradigmxyz#4881)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Oct 2, 2023
1 parent fbfca3f commit f59db31
Show file tree
Hide file tree
Showing 14 changed files with 54 additions and 27 deletions.
35 changes: 30 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ boa_gc = "0.17"
aquamarine = "0.3"
bytes = "1.5"
bitflags = "2.3"
clap = "4"
tracing = "0.1.0"
tracing-appender = "0.2"
thiserror = "1.0"
Expand Down Expand Up @@ -176,11 +177,12 @@ c-kzg = "0.1.1"

## config
confy = "0.5"
toml = "0.7"
toml = "0.8"

### misc-testing
arbitrary = "1.1"
assert_matches = "1.5.0"
tempfile = "3.8"

proptest = "1.0"
proptest-derive = "0.4"
Expand Down
4 changes: 2 additions & 2 deletions bin/reth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ hyper = "0.14.25"
# misc
aquamarine.workspace = true
eyre = "0.6.8"
clap = { version = "4", features = ["derive"] }
tempfile = { version = "3.3.0" }
clap = { workspace = true, features = ["derive"] }
tempfile.workspace = true
backon = "0.4"
thiserror.workspace = true
pretty_assertions = "1.3.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion crates/interfaces/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
4 changes: 2 additions & 2 deletions crates/net/downloaders/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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"]
4 changes: 2 additions & 2 deletions crates/net/network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]
Expand Down
6 changes: 3 additions & 3 deletions crates/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion crates/rpc/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
4 changes: 2 additions & 2 deletions crates/storage/db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/storage/libmdbx-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions crates/storage/nippy-jar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions crates/storage/provider/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/additional-rpc-namespace-in-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license.workspace = true
reth.workspace = true
reth-transaction-pool.workspace = true

clap = { version = "4", features = ["derive"] }
clap = { workspace = true, features = ["derive"] }
jsonrpsee = { workspace = true, features = ["server", "macros"] }
eyre = "0.6"

Expand Down

0 comments on commit f59db31

Please sign in to comment.