Skip to content

Commit

Permalink
Clean up single attributed dependencies (#6179)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfiedotwtf committed Sep 9, 2024
1 parent 6ff4130 commit f3c3a5f
Show file tree
Hide file tree
Showing 20 changed files with 122 additions and 124 deletions.
14 changes: 7 additions & 7 deletions forc-pkg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ ansi_term.workspace = true
anyhow.workspace = true
byte-unit.workspace = true
cid.workspace = true
forc-tracing = { workspace = true }
forc-util = { workspace = true }
fuel-abi-types = { workspace = true }
forc-tracing.workspace = true
forc-util.workspace = true
fuel-abi-types.workspace = true
futures.workspace = true
git2 = { workspace = true, features = [
"vendored-libgit2",
Expand All @@ -31,10 +31,10 @@ serde = { workspace = true, features = ["derive"] }
serde_ignored.workspace = true
serde_json.workspace = true
serde_with.workspace = true
sway-core = { workspace = true }
sway-error = { workspace = true }
sway-types = { workspace = true }
sway-utils = { workspace = true }
sway-core.workspace = true
sway-error.workspace = true
sway-types.workspace = true
sway-utils.workspace = true
tar.workspace = true
toml = { workspace = true, features = ["parse"] }
tracing.workspace = true
Expand Down
32 changes: 16 additions & 16 deletions forc-plugins/forc-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,30 @@ chrono = { workspace = true, default-features = false, features = ["std"] }
clap = { workspace = true, features = ["derive", "env"] }
devault.workspace = true
dialoguer.workspace = true
forc = { workspace = true }
forc-pkg = { workspace = true }
forc-tracing = { workspace = true }
forc-tx = { workspace = true }
forc-util = { workspace = true }
forc-wallet = { workspace = true }
fuel-abi-types = { workspace = true }
forc.workspace = true
forc-pkg.workspace = true
forc-tracing.workspace = true
forc-tx.workspace = true
forc-util.workspace = true
forc-wallet.workspace = true
fuel-abi-types.workspace = true
fuel-core-client = { workspace = true, features = ["subscriptions"] }
fuel-core-types = { workspace = true }
fuel-crypto = { workspace = true }
fuel-core-types.workspace = true
fuel-crypto.workspace = true
fuel-tx = { workspace = true, features = ["test-helpers"] }
fuel-vm = { workspace = true }
fuels = { workspace = true }
fuels-accounts = { workspace = true }
fuels-core = { workspace = true }
fuel-vm.workspace = true
fuels.workspace = true
fuels-accounts.workspace = true
fuels-core.workspace = true
futures.workspace = true
hex.workspace = true
rand.workspace = true
rpassword.workspace = true
serde_json.workspace = true
serde.workspace = true
sway-core = { workspace = true }
sway-types = { workspace = true }
sway-utils = { workspace = true }
sway-core.workspace = true
sway-types.workspace = true
sway-utils.workspace = true
tokio = { workspace = true, features = ["macros", "process", "rt-multi-thread"] }
toml_edit.workspace = true
tracing.workspace = true
Expand Down
8 changes: 4 additions & 4 deletions forc-plugins/forc-crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ anyhow.workspace = true
async-trait.workspace = true
atty.workspace = true
clap = { workspace = true, features = ["derive", "env"] }
forc-tracing = { workspace = true }
forc-util = { workspace = true }
fuel-core-types = { workspace = true }
forc-tracing.workspace = true
forc-util.workspace = true
fuel-core-types.workspace = true
fuel-crypto = { workspace = true, features = ["random"] }
fuels-core = { workspace = true }
fuels-core.workspace = true
futures.workspace = true
hex.workspace = true
libp2p-identity = { workspace = true, features = ["peerid", "secp256k1"] }
Expand Down
12 changes: 6 additions & 6 deletions forc-plugins/forc-debug/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ repository.workspace = true
anyhow.workspace = true
clap = { workspace = true, features = ["derive", "env"] }
dap.workspace = true
forc-pkg = { workspace = true }
forc-test = { workspace = true }
forc-tracing = { workspace = true }
fuel-core-client = { workspace = true }
forc-pkg.workspace = true
forc-test.workspace = true
forc-tracing.workspace = true
fuel-core-client.workspace = true
fuel-types = { workspace = true, features = ["serde"] }
fuel-vm = { workspace = true, features = ["serde"] }
rayon.workspace = true
serde_json.workspace = true
serde.workspace = true
shellfish = { workspace = true, features = ["async", "rustyline", "tokio"] }
sway-core = { workspace = true }
sway-types = { workspace = true }
sway-core.workspace = true
sway-types.workspace = true
thiserror.workspace = true
tokio = { workspace = true, features = [
"io-util",
Expand Down
16 changes: 8 additions & 8 deletions forc-plugins/forc-doc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@ repository.workspace = true
anyhow.workspace = true
clap = { workspace = true, features = ["derive"] }
comrak.workspace = true
forc-pkg = { workspace = true }
forc-tracing = { workspace = true }
forc-util = { workspace = true }
forc-pkg.workspace = true
forc-tracing.workspace = true
forc-util.workspace = true
horrorshow.workspace = true
include_dir.workspace = true
minifier.workspace = true
opener.workspace = true
serde_json.workspace = true
serde.workspace = true
sway-ast = { workspace = true }
sway-core = { workspace = true }
sway-lsp = { workspace = true }
sway-types = { workspace = true }
swayfmt = { workspace = true }
sway-ast.workspace = true
sway-core.workspace = true
sway-lsp.workspace = true
sway-types.workspace = true
swayfmt.workspace = true

[dev-dependencies]
dir_indexer = "0.0.2"
Expand Down
12 changes: 6 additions & 6 deletions forc-plugins/forc-fmt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ repository.workspace = true
[dependencies]
anyhow.workspace = true
clap = { workspace = true, features = ["derive"] }
forc-pkg = { workspace = true }
forc-tracing = { workspace = true }
forc-util = { workspace = true }
forc-pkg.workspace = true
forc-tracing.workspace = true
forc-util.workspace = true
prettydiff.workspace = true
sway-core = { workspace = true }
sway-utils = { workspace = true }
swayfmt = { workspace = true }
sway-core.workspace = true
sway-utils.workspace = true
swayfmt.workspace = true
taplo.workspace = true
tracing.workspace = true
4 changes: 2 additions & 2 deletions forc-plugins/forc-lsp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ repository.workspace = true
[dependencies]
anyhow.workspace = true
clap = { workspace = true, features = ["derive"] }
sway-lsp = { workspace = true }
sway-lsp.workspace = true
tikv-jemallocator.workspace = true
tokio = { workspace = true }
tokio.workspace = true
4 changes: 2 additions & 2 deletions forc-plugins/forc-tx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ path = "src/main.rs"
anyhow.workspace = true
clap = { workspace = true, features = ["derive", "env"] }
devault.workspace = true
forc-util = { workspace = true }
forc-util.workspace = true
fuel-tx = { workspace = true, features = ["random", "serde", "test-helpers"] }
fuel-types = { workspace = true, features = ["serde"] }
serde_json = { workspace = true }
serde_json.workspace = true
serde.workspace = true
thiserror.workspace = true
10 changes: 5 additions & 5 deletions forc-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ repository.workspace = true

[dependencies]
anyhow.workspace = true
forc-pkg = { workspace = true }
fuel-abi-types = { workspace = true }
forc-pkg.workspace = true
fuel-abi-types.workspace = true
fuel-tx = { workspace = true, features = ["test-helpers"] }
fuel-vm = { workspace = true, features = ["random", "test-helpers"] }
fuels-core = { workspace = true }
fuels-core.workspace = true
rand.workspace = true
rayon.workspace = true
sway-core = { workspace = true }
sway-types = { workspace = true }
sway-core.workspace = true
sway-types.workspace = true
12 changes: 6 additions & 6 deletions forc-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@ license.workspace = true
repository.workspace = true

[dependencies]
annotate-snippets = { workspace = true }
annotate-snippets.workspace = true
ansi_term.workspace = true
anyhow.workspace = true
clap = { workspace = true, features = ["cargo", "derive", "env"] }
dirs.workspace = true
fd-lock.workspace = true
forc-tracing = { workspace = true }
forc-tracing.workspace = true
fuel-tx = { workspace = true, features = ["serde"], optional = true }
hex.workspace = true
paste.workspace = true
regex.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
serial_test.workspace = true
sway-core = { workspace = true }
sway-error = { workspace = true }
sway-types = { workspace = true }
sway-utils = { workspace = true }
sway-core.workspace = true
sway-error.workspace = true
sway-types.workspace = true
sway-utils.workspace = true
tracing.workspace = true
tracing-subscriber = { workspace = true, features = [
"ansi",
Expand Down
20 changes: 10 additions & 10 deletions forc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ anyhow.workspace = true
clap = { workspace = true, features = ["cargo", "derive", "env"] }
clap_complete_fig.workspace = true
clap_complete.workspace = true
forc-pkg = { workspace = true }
forc-test = { workspace = true }
forc-tracing = { workspace = true }
forc-util = { workspace = true }
forc-pkg.workspace = true
forc-test.workspace = true
forc-tracing.workspace = true
forc-util.workspace = true
fs_extra.workspace = true
fuel-asm = { workspace = true }
fuel-asm.workspace = true
hex.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
sway-core = { workspace = true }
sway-error = { workspace = true }
sway-ir = { workspace = true }
sway-types = { workspace = true }
sway-utils = { workspace = true }
sway-core.workspace = true
sway-error.workspace = true
sway-ir.workspace = true
sway-types.workspace = true
sway-utils.workspace = true
term-table.workspace = true
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
toml = { workspace = true, features = ["parse"] }
Expand Down
4 changes: 2 additions & 2 deletions sway-ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ extension-trait.workspace = true
num-bigint = { workspace = true, features = ["serde"] }
num-traits.workspace = true
serde = { workspace = true, features = ["derive"] }
sway-error = { workspace = true }
sway-types = { workspace = true }
sway-error.workspace = true
sway-types.workspace = true

[lints.clippy]
iter_over_hash_type = "deny"
22 changes: 10 additions & 12 deletions sway-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ clap = { workspace = true, features = ["derive"] }
derivative.workspace = true
dirs.workspace = true
either.workspace = true
ethabi = { workspace = true, package = "fuel-ethabi" }
etk-asm = { workspace = true, package = "fuel-etk-asm", features = [
"backtraces",
] }
etk-ops = { workspace = true, package = "fuel-etk-ops" }
fuel-abi-types = { workspace = true }
ethabi = { workspace = true }
etk-asm = { workspace = true, features = ["backtraces"] }
etk-ops = { workspace = true }
fuel-abi-types.workspace = true
fuel-vm = { workspace = true, features = ["serde"] }
gimli.workspace = true
graph-cycles.workspace = true
Expand All @@ -39,12 +37,12 @@ serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
sha2.workspace = true
strum = { workspace = true, features = ["derive"] }
sway-ast = { workspace = true }
sway-error = { workspace = true }
sway-ir = { workspace = true }
sway-parse = { workspace = true }
sway-types = { workspace = true }
sway-utils = { workspace = true }
sway-ast.workspace = true
sway-error.workspace = true
sway-ir.workspace = true
sway-parse.workspace = true
sway-types.workspace = true
sway-utils.workspace = true
thiserror.workspace = true
tracing.workspace = true
uint.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion sway-error/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ in_definite.workspace = true
num-traits.workspace = true
smallvec.workspace = true
strsim.workspace = true
sway-types = { workspace = true }
sway-types.workspace = true
thiserror.workspace = true
uwuify = { workspace = true, optional = true }

Expand Down
6 changes: 3 additions & 3 deletions sway-ir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ peg.workspace = true
prettydiff.workspace = true
rustc-hash.workspace = true
slotmap.workspace = true
sway-ir-macros = { workspace = true }
sway-types = { workspace = true }
sway-utils = { workspace = true }
sway-ir-macros.workspace = true
sway-types.workspace = true
sway-utils.workspace = true

[lints.clippy]
iter_over_hash_type = "deny"
20 changes: 10 additions & 10 deletions sway-lsp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ anyhow.workspace = true
crossbeam-channel.workspace = true
dashmap.workspace = true
fd-lock.workspace = true
forc-pkg = { workspace = true }
forc-tracing = { workspace = true }
forc-util = { workspace = true }
forc-pkg.workspace = true
forc-tracing.workspace = true
forc-util.workspace = true
indexmap = { workspace = true, features = ["rayon"] }
lsp-types = { workspace = true, features = ["proposed"] }
notify-debouncer-mini.workspace = true
Expand All @@ -27,13 +27,13 @@ rayon-cond.workspace = true
rayon.workspace = true
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
sway-ast = { workspace = true }
sway-core = { workspace = true }
sway-error = { workspace = true }
sway-parse = { workspace = true }
sway-types = { workspace = true }
sway-utils = { workspace = true }
swayfmt = { workspace = true }
sway-ast.workspace = true
sway-core.workspace = true
sway-error.workspace = true
sway-parse.workspace = true
sway-types.workspace = true
sway-utils.workspace = true
swayfmt.workspace = true
syn = { workspace = true, features = ["full"] }
tempfile.workspace = true
thiserror.workspace = true
Expand Down
6 changes: 3 additions & 3 deletions sway-parse/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ extension-trait.workspace = true
num-bigint.workspace = true
num-traits.workspace = true
phf = { workspace = true, features = ["macros"] }
sway-ast = { workspace = true }
sway-error = { workspace = true }
sway-types = { workspace = true }
sway-ast.workspace = true
sway-error.workspace = true
sway-types.workspace = true
thiserror.workspace = true
unicode-bidi.workspace = true
unicode-xid.workspace = true
Expand Down
Loading

0 comments on commit f3c3a5f

Please sign in to comment.