Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed un-used dependencies in cargo.toml(s) #13780

Merged
merged 16 commits into from
Sep 14, 2023
Prev Previous commit
Next Next commit
Part 7 of removing deps
  • Loading branch information
ebmifa committed Sep 13, 2023
commit 0e5747af7b4fab4709a41329e7fc5aca2318c9d0
1 change: 0 additions & 1 deletion crates/mysten-util-mem-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ proc-macro = true
proc-macro2.workspace = true
syn.workspace = true
synstructure.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }
1 change: 0 additions & 1 deletion crates/prometheus-closure-metric/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ publish = false
anyhow.workspace = true
prometheus.workspace = true
protobuf.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }
12 changes: 0 additions & 12 deletions crates/sui-analytics-indexer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,23 @@ edition = "2021"
anyhow.workspace = true
async-trait.workspace = true
axum.workspace = true
backoff.workspace = true
bcs.workspace = true
chrono.workspace = true
clap.workspace = true
csv.workspace = true
futures.workspace = true
itertools.workspace = true
move-core-types.workspace = true
prometheus.workspace = true
serde.workspace = true
serde_json.workspace = true
regex.workspace = true
tap.workspace = true
thiserror.workspace = true
tracing.workspace = true
tokio = { workspace = true, features = ["full"] }
tokio-stream.workspace = true
url.workspace = true

fastcrypto = { workspace = true, features = ["copy_key"] }
mysten-metrics.workspace = true
sui-indexer.workspace = true
sui-types.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }
telemetry-subscribers.workspace = true
sui-rest-api.workspace = true

cached.workspace = true

[dev-dependencies]

[[bin]]
Expand Down
3 changes: 0 additions & 3 deletions crates/sui-cost/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@ publish = false
edition = "2021"

[dependencies]
workspace-hack = { version = "0.1", path = "../workspace-hack" }
sui-types.workspace = true
anyhow.workspace = true
tokio = { workspace = true, features = ["full"] }
serde.workspace = true
strum.workspace = true
strum_macros.workspace = true
bcs.workspace = true
sui-core.workspace = true

[dev-dependencies]
insta.workspace = true
Expand Down
3 changes: 0 additions & 3 deletions crates/sui-kvstore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,10 @@ tokio = { workspace = true, features = ["full"] }
anyhow = { workspace = true, features = ["backtrace"] }
prometheus.workspace = true
serde.workspace = true
strum.workspace = true
strum_macros.workspace = true
bcs.workspace = true
tracing.workspace = true
mysten-metrics.workspace = true
sui-core.workspace = true
sui-types.workspace = true
sui-config.workspace = true
sui-storage.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }
3 changes: 0 additions & 3 deletions crates/sui-move-build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ fastcrypto.workspace = true
tempfile.workspace = true

move-bytecode-verifier = { path = "../../external-crates/move/move-bytecode-verifier" }
sui-adapter = { path = "../../sui-execution/latest/sui-adapter", package = "sui-adapter-latest" }
sui-verifier = { path = "../../sui-execution/latest/sui-verifier", package = "sui-verifier-latest" }

serde-reflection.workspace = true
sui-types.workspace = true
sui-protocol-config.workspace = true

move-binary-format.workspace = true
move-bytecode-utils.workspace = true
Expand All @@ -28,7 +26,6 @@ move-core-types.workspace = true
move-ir-types.workspace = true
move-package.workspace = true
move-symbol-pool.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[dev-dependencies]
datatest-stable.workspace = true
Expand Down
4 changes: 1 addition & 3 deletions crates/sui-sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ bcs.workspace = true
thiserror.workspace = true
reqwest.workspace = true

sui-swarm-config.workspace = true
sui-json-rpc.workspace = true
sui-transaction-builder.workspace = true
sui-json-rpc-types.workspace = true
Expand All @@ -36,7 +35,6 @@ tracing.workspace = true
move-core-types.workspace = true

fastcrypto.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[dev-dependencies]
clap.workspace = true
Expand Down Expand Up @@ -78,4 +76,4 @@ path = "examples/sui_client.rs"
[[example]]
name = "utils"
path = "examples/utils.rs"
crate-type = ["staticlib"]
crate-type = ["staticlib"]
4 changes: 1 addition & 3 deletions crates/sui-telemetry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ edition = "2021"
[dependencies]
serde.workspace = true
reqwest.workspace = true
tokio = { workspace = true, features = ["full", "tracing"] }
tracing.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }

sui-core.workspace = true
fastcrypto.workspace = true

2 changes: 0 additions & 2 deletions crates/sui-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ enum_dispatch.workspace = true
eyre.workspace = true
indexmap.workspace = true
derivative.workspace = true
parking_lot.workspace = true

move-binary-format.workspace = true
move-bytecode-utils.workspace = true
Expand All @@ -60,7 +59,6 @@ fastcrypto = { workspace = true, features = ["copy_key"] }
fastcrypto-zkp.workspace = true

typed-store.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }
derive_more.workspace = true
proptest.workspace = true
proptest-derive.workspace = true
Expand Down