Skip to content

Commit

Permalink
chore(deps): move some deps to workspace (paradigmxyz#5020)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Oct 14, 2023
1 parent 920e3f0 commit 48cf69d
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 13 deletions.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ reth-rpc-types-compat = { path = "./crates/rpc/rpc-types-compat" }
reth-discv4 = { path = "./crates/net/discv4" }
reth-eth-wire = { path = "./crates/net/eth-wire" }
reth-ecies = { path = "./crates/net/ecies" }
reth-tracing = {path = "./crates/tracing"}
reth-tracing = { path = "./crates/tracing" }

# revm
revm = "3.5.0"
Expand All @@ -133,6 +133,7 @@ aquamarine = "0.3"
bytes = "1.5"
bitflags = "2.3"
clap = "4"
eyre = "0.6"
tracing = "0.1.0"
tracing-appender = "0.2"
thiserror = "1.0"
Expand All @@ -145,6 +146,8 @@ itertools = "0.11"
parking_lot = "0.12"
metrics = "0.21.1" # Needed for `metrics-macro` to resolve the crate using `::metrics` notation
hex-literal = "0.4"
once_cell = "1.17"
syn = "2.0"

### proc-macros
proc-macro2 = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion bin/reth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ hyper = "0.14.25"

# misc
aquamarine.workspace = true
eyre = "0.6.8"
eyre.workspace = true
clap = { workspace = true, features = ["derive"] }
tempfile.workspace = true
backon = "0.4"
Expand Down
4 changes: 2 additions & 2 deletions crates/metrics/metrics-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ proc-macro = true

[dependencies]
proc-macro2.workspace = true
syn = { version = "2.0", features = ["extra-traits"] }
syn = { workspace = true, features = ["extra-traits"] }
quote.workspace = true
regex = "1.6.0"
once_cell = "1.17.0"
once_cell.workspace = true

[dev-dependencies]
metrics.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ sucds = "~0.6"
modular-bitfield = "0.11.2"
derive_more = "0.99"
url = "2.3"
once_cell = "1.17.0"
once_cell.workspace = true
zstd = { version = "0.12", features = ["experimental"] }
rayon.workspace = true
tempfile.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/storage/codecs/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ proc-macro = true
[dependencies]
proc-macro2.workspace = true
quote.workspace = true
syn = { version = "2.0", features = ["full", "extra-traits"] }
syn = { workspace = true, features = ["full", "extra-traits"] }
convert_case = "0.6.0"

# codecs
Expand Down
2 changes: 1 addition & 1 deletion crates/storage/db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ thiserror.workspace = true
tempfile = { workspace = true, optional = true }
parking_lot.workspace = true
derive_more = "0.99"
eyre = "0.6.8"
eyre.workspace = true
paste = "1.0"

# arbitrary utils
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ reth-network.workspace = true
reth-transaction-pool.workspace = true
reth-tasks.workspace = true

eyre = "0.6.8"
eyre.workspace = true
futures.workspace = true
async-trait.workspace = true
tokio.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 @@ -11,7 +11,7 @@ reth-transaction-pool.workspace = true

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

[dev-dependencies]
tokio.workspace = true
2 changes: 1 addition & 1 deletion examples/cli-extension-event-hooks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ license.workspace = true
[dependencies]
reth.workspace = true
clap.workspace = true
eyre = "0.6"
eyre.workspace = true
4 changes: 2 additions & 2 deletions examples/manual-p2p/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ edition.workspace = true
license.workspace = true

[dependencies]
once_cell = "1.17.0"
eyre = "0.6.8"
once_cell.workspace = true
eyre.workspace = true

reth-primitives.workspace = true
reth-network.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion examples/rpc-db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ futures.workspace = true
jsonrpsee.workspace = true
reth.workspace = true
tokio = { workspace = true, features = ["full"] }
eyre = "0.6.8"
eyre.workspace = true

0 comments on commit 48cf69d

Please sign in to comment.