Skip to content

Commit

Permalink
chore(deps): move more deps to workspace (#8192)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Jun 18, 2024
1 parent 91074f1 commit 588a1d7
Show file tree
Hide file tree
Showing 22 changed files with 100 additions and 89 deletions.
13 changes: 12 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ alloy-rlp = "0.3.3"
solang-parser = "=0.3.3"

## misc
async-trait = "0.1"
auto_impl = "1"
walkdir = "2"
proc-macro2 = "1.0.82"
quote = "1.0"
syn = "2.0"
Expand All @@ -218,24 +221,32 @@ chrono = { version = "0.4", default-features = false, features = [
] }
color-eyre = "0.6"
derive_more = "0.99"
dunce = "1"
evm-disassembler = "0.5"
eyre = "0.6"
figment = "0.10"
futures = "0.3"
hex = { package = "const-hex", version = "1.6", features = ["hex"] }
itertools = "0.13"
jsonpath_lib = "0.3"
k256 = "0.13"
similar-asserts = "1.5"
once_cell = "1"
parking_lot = "0.12"
rand = "0.8"
rustc-hash = "1.1"
semver = "1"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0", features = ["arbitrary_precision"] }
similar-asserts = "1.5"
strum = "0.26"
thiserror = "1"
toml = "0.8"
tracing = "0.1"
tracing-subscriber = "0.3"
vergen = { version = "8", default-features = false }
indexmap = "2.2"
tikv-jemallocator = "0.5.4"
url = "2"
num-format = "0.4.4"
yansi = { version = "1.0", features = ["detect-tty", "detect-env"] }
tempfile = "3.10"
Expand Down
10 changes: 5 additions & 5 deletions crates/anvil/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,16 @@ tracing-subscriber = { workspace = true, features = ["env-filter", "fmt"] }

# async
tokio = { workspace = true, features = ["time"] }
parking_lot = "0.12"
futures = "0.3"
async-trait = "0.1"
parking_lot.workspace = true
futures.workspace = true
async-trait.workspace = true

# misc
flate2 = "1.0"
serde_repr = "0.1"
serde_json.workspace = true
serde.workspace = true
thiserror = "1"
thiserror .workspace = true
yansi.workspace = true
tempfile.workspace = true
itertools.workspace = true
Expand All @@ -104,7 +104,7 @@ clap = { version = "4", features = [
], optional = true }
clap_complete = { version = "4", optional = true }
chrono.workspace = true
auto_impl = "1"
auto_impl.workspace = true
ctrlc = { version = "3", optional = true }
fdlimit = { version = "0.3", optional = true }
clap_complete_fig = "4"
Expand Down
8 changes: 4 additions & 4 deletions crates/anvil/server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ tower-http = { workspace = true, features = ["trace", "cors"] }
tracing.workspace = true

# async
parking_lot = "0.12"
futures = "0.3"
parking_lot.workspace = true
futures.workspace = true

# ipc
interprocess = { version = "2", optional = true, features = ["tokio"] }
Expand All @@ -35,8 +35,8 @@ tokio-util = { version = "0.7", features = ["codec"], optional = true }
# misc
serde_json.workspace = true
serde.workspace = true
async-trait = "0.1"
thiserror = "1"
async-trait.workspace = true
thiserror.workspace = true

clap = { version = "4", features = ["derive", "env"], optional = true }
pin-project = "1"
Expand Down
8 changes: 4 additions & 4 deletions crates/cast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ alloy-transport.workspace = true
chrono.workspace = true
evm-disassembler.workspace = true
eyre.workspace = true
futures = "0.3"
futures.workspace = true
hex.workspace = true
rand.workspace = true
rayon.workspace = true
Expand All @@ -70,12 +70,12 @@ clap = { version = "4", features = ["derive", "env", "unicode", "wrap_help"] }
clap_complete = "4"
clap_complete_fig = "4"
comfy-table = "7"
dunce = "1"
dunce.workspace = true
indicatif = "0.17"
itertools.workspace = true
regex = { version = "1", default-features = false }
rpassword = "7"
semver = "1"
semver.workspace = true
tempfile.workspace = true
tokio = { workspace = true, features = ["macros", "signal"] }
tracing.workspace = true
Expand All @@ -87,7 +87,7 @@ tikv-jemallocator = { workspace = true, optional = true }

[dev-dependencies]
foundry-test-utils.workspace = true
async-trait = "0.1"
async-trait.workspace = true
criterion = "0.5"

[features]
Expand Down
8 changes: 4 additions & 4 deletions crates/cheatcodes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ alloy-signer-local = { workspace = true, features = [
"mnemonic-all-languages",
"keystore",
] }
parking_lot = "0.12"
parking_lot.workspace = true

eyre.workspace = true
hex.workspace = true
Expand All @@ -46,10 +46,10 @@ base64.workspace = true
toml = { workspace = true, features = ["preserve_order"] }
tracing.workspace = true
k256.workspace = true
walkdir = "2"
walkdir.workspace = true
p256 = "0.13.2"
thiserror = "1"
semver = "1"
thiserror.workspace = true
semver.workspace = true
rustc-hash.workspace = true
dialoguer = "0.11.0"
rand = "0.8"
2 changes: 1 addition & 1 deletion crates/chisel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ regex = "1"
reqwest.workspace = true
revm.workspace = true
rustyline = "12"
semver = "1"
semver.workspace = true
serde_json.workspace = true
serde.workspace = true
solang-parser.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ color-eyre.workspace = true
dotenvy = "0.15"
eyre.workspace = true
indicatif = "0.17"
once_cell = "1"
once_cell.workspace = true
regex = { version = "1", default-features = false }
serde.workspace = true
strsim = "0.10"
Expand All @@ -45,7 +45,7 @@ tracing-subscriber = { workspace = true, features = ["registry", "env-filter", "
tracing.workspace = true
yansi.workspace = true
hex.workspace = true
futures = "0.3"
futures.workspace = true

[dev-dependencies]
tempfile.workspace = true
Expand Down
14 changes: 7 additions & 7 deletions crates/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,21 @@ alloy-transport.workspace = true

tower.workspace = true

async-trait = "0.1"
async-trait.workspace = true
clap = { version = "4", features = ["derive", "env", "unicode", "wrap_help"] }
comfy-table = "7"
dunce = "1"
dunce.workspace = true
eyre.workspace = true
once_cell = "1"
once_cell.workspace = true
reqwest.workspace = true
semver = "1"
semver.workspace = true
serde_json.workspace = true
serde.workspace = true
thiserror = "1"
thiserror.workspace = true
tokio.workspace = true
tracing.workspace = true
url = "2"
walkdir = "2"
url.workspace = true
walkdir.workspace = true
yansi.workspace = true
rustc-hash.workspace = true
num-format.workspace = true
Expand Down
14 changes: 7 additions & 7 deletions crates/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,32 +21,32 @@ revm-primitives.workspace = true
solang-parser.workspace = true

dirs-next = "2"
dunce = "1"
dunce.workspace = true
eyre.workspace = true
figment = { version = "0.10", features = ["toml", "env"] }
figment = { workspace = true, features = ["toml", "env"] }
globset = "0.4"
glob = "0.3"
Inflector = "0.11"
number_prefix = "0.4"
once_cell = "1"
once_cell.workspace = true
regex = "1"
reqwest.workspace = true
semver = { version = "1", features = ["serde"] }
semver = { workspace = true, features = ["serde"] }
serde_json.workspace = true
serde_regex = "1"
serde.workspace = true
thiserror = "1"
thiserror.workspace = true
toml = { version = "0.8", features = ["preserve_order"] }
toml_edit = "0.22.4"
tracing.workspace = true
walkdir = "2"
walkdir.workspace = true

[target.'cfg(target_os = "windows")'.dependencies]
path-slash = "0.2.1"

[dev-dependencies]
similar-asserts.workspace = true
figment = { version = "0.10", features = ["test"] }
figment = { workspace = true, features = ["test"] }
tempfile.workspace = true

[features]
Expand Down
6 changes: 3 additions & 3 deletions crates/doc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ foundry-config.workspace = true

alloy-primitives.workspace = true

auto_impl = "1"
auto_impl.workspace = true
derive_more = "0.99"
eyre.workspace = true
itertools.workspace = true
mdbook = { version = "0.4", default-features = false, features = ["search"] }
once_cell = "1"
once_cell.workspace = true
rayon.workspace = true
serde_json.workspace = true
serde.workspace = true
solang-parser.workspace = true
thiserror = "1"
thiserror.workspace = true
toml.workspace = true
tracing.workspace = true
regex = "1.10.2"
20 changes: 10 additions & 10 deletions crates/evm/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,21 @@ revm = { workspace = true, features = [
revm-inspectors.workspace = true

arrayvec.workspace = true
auto_impl = "1"
auto_impl.workspace = true
derive_more.workspace = true
eyre = "0.6"
futures = "0.3"
eyre.workspace = true
futures.workspace = true
hex.workspace = true
itertools.workspace = true
once_cell = "1"
parking_lot = "0.12"
once_cell.workspace = true
parking_lot.workspace = true
rustc-hash.workspace = true
serde = "1"
serde_json = "1"
thiserror = "1"
serde.workspace = true
serde_json.workspace = true
thiserror.workspace = true
tokio = { workspace = true, features = ["time", "macros"] }
tracing = "0.1"
url = "2"
tracing.workspace = true
url.workspace = true

[dev-dependencies]
foundry-test-utils.workspace = true
6 changes: 3 additions & 3 deletions crates/evm/coverage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ foundry-compilers.workspace = true
foundry-evm-core.workspace = true

alloy-primitives.workspace = true
eyre = "0.6"
eyre.workspace = true
revm.workspace = true
semver = "1"
tracing = "0.1"
semver.workspace = true
tracing.workspace = true
rustc-hash.workspace = true
rayon.workspace = true
8 changes: 4 additions & 4 deletions crates/evm/evm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ revm = { workspace = true, default-features = false, features = [
revm-inspectors.workspace = true

arrayvec.workspace = true
eyre = "0.6"
parking_lot = "0.12"
eyre.workspace = true
parking_lot.workspace = true
proptest = "1"
thiserror = "1"
tracing = "0.1"
thiserror.workspace = true
tracing.workspace = true
indicatif = "0.17"
10 changes: 5 additions & 5 deletions crates/evm/fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ revm = { workspace = true, features = [
"arbitrary",
] }

eyre = "0.6"
eyre .workspace = true
itertools.workspace = true
parking_lot = "0.12"
parking_lot.workspace = true
proptest = "1"
rand.workspace = true
serde = "1"
thiserror = "1"
tracing = "0.1"
serde.workspace = true
thiserror.workspace = true
tracing.workspace = true
indexmap.workspace = true
ahash.workspace = true
10 changes: 5 additions & 5 deletions crates/evm/traces/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ alloy-primitives = { workspace = true, features = [
alloy-sol-types.workspace = true
revm-inspectors.workspace = true

eyre = "0.6"
futures = "0.3"
eyre .workspace = true
futures.workspace = true
hex.workspace = true
itertools.workspace = true
once_cell = "1"
serde = "1"
once_cell.workspace = true
serde.workspace = true
tokio = { workspace = true, features = ["time", "macros"] }
tracing = "0.1"
tracing.workspace = true
yansi.workspace = true
rustc-hash.workspace = true
tempfile.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/fmt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ alloy-primitives.workspace = true
ariadne = "0.4"
itertools.workspace = true
solang-parser.workspace = true
thiserror = "1"
thiserror.workspace = true
tracing.workspace = true

[dev-dependencies]
Expand Down
Loading

0 comments on commit 588a1d7

Please sign in to comment.