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
343 changes: 0 additions & 343 deletions Cargo.lock

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions crates/anemo-benchmark/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,11 @@ edition = "2021"

[dependencies]
anemo.workspace = true
anemo-tower.workspace = true
anyhow.workspace = true
clap = { version = "4.1.4", features = ["derive"] }
mysten-network.workspace = true
rand.workspace= true
sui-types.workspace = true
telemetry-subscribers.workspace = true
tokio = { workspace = true, features = ["full"] }
tracing.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[build-dependencies]
anemo-build.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/mysten-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ edition = "2021"
publish = false

[dependencies]
workspace-hack = { version = "0.1", path = "../workspace-hack" }
tokio.workspace = true
futures.workspace = true
parking_lot.workspace = true
1 change: 0 additions & 1 deletion crates/mysten-metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ publish = false
edition = "2021"

[dependencies]
workspace-hack = { version = "0.1", path = "../workspace-hack" }
tracing.workspace = true
scopeguard.workspace = true
prometheus.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/mysten-network/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ tonic-health.workspace = true
tower.workspace = true
tower-http.workspace = true
tracing.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }
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/mysten-util-mem/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ ed25519-consensus.workspace = true
smallvec = { workspace = true, optional = true }
parking_lot = { workspace = true, optional = true }
once_cell.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[features]
default = ["std", "hashbrown", "smallvec", "estimate-heapsize"]
Expand Down
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" }
1 change: 0 additions & 1 deletion crates/shared-crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ serde.workspace = true
serde_repr.workspace = true
fastcrypto = { workspace = true, features = ["copy_key"] }
eyre.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }
bcs.workspace = true
1 change: 0 additions & 1 deletion crates/sui-adapter-transactional-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ name = "tests"
harness = false

[dependencies]
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
9 changes: 0 additions & 9 deletions crates/sui-archival/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,21 @@ authors = ["Mysten Labs <build@mystenlabs.com>"]

[dependencies]
indicatif.workspace = true
integer-encoding.workspace = true
anyhow.workspace = true
serde.workspace = true
bcs.workspace = true
byteorder.workspace = true
tracing.workspace = true
bytes.workspace = true
tokio-stream.workspace = true
num_enum.workspace = true
futures.workspace = true
backoff.workspace = true
rand.workspace = true
object_store.workspace = true
prometheus.workspace = true
zstd.workspace = true
typed-store.workspace = true
typed-store-derive.workspace = true
sui-config.workspace = true
sui-types.workspace = true
sui-storage.workspace = true
sui-protocol-config.workspace = true
fastcrypto = { workspace = true, features = ["copy_key"] }
tokio = { workspace = true, features = ["full"] }
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[dev-dependencies]
tempfile.workspace = true
Expand Down
4 changes: 0 additions & 4 deletions crates/sui-aws-orchestrator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,11 @@ russh.workspace = true
russh-keys.workspace = true
aws-config.workspace = true
color-eyre.workspace = true
glob.workspace = true
clap.workspace = true
eyre.workspace = true
prettytable-rs.workspace = true
serde_json.workspace = true
futures.workspace = true
thiserror.workspace = true
rand.workspace = true
reqwest.workspace = true
async-trait.workspace = true
crossterm.workspace = true
Expand All @@ -33,7 +30,6 @@ sui-config = { path = "../sui-config" }
sui-types = { path = "../sui-types" }
sui-node = { path = "../sui-node" }
sui-swarm-config = { path = "../sui-swarm-config" }
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[dev-dependencies]
tempfile = "3.6.0"
Expand Down
5 changes: 0 additions & 5 deletions crates/sui-benchmark/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ itertools.workspace = true
tokio = { workspace = true, features = ["full"] }
strum.workspace = true
strum_macros.workspace = true
rocksdb.workspace = true
tracing.workspace = true
clap.workspace = true
prometheus.workspace = true
Expand All @@ -38,17 +37,13 @@ sui-json-rpc-types.workspace = true
sui-protocol-config.workspace = true
sui-test-transaction-builder.workspace = true
sui-swarm-config.workspace = true
sui-swarm.workspace = true
telemetry-subscribers.workspace = true
roaring.workspace = true
regex.workspace = true

fastcrypto.workspace = true
move-core-types.workspace = true
move-package.workspace = true
mysten-metrics.workspace = true
narwhal-node.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }
test-cluster.workspace = true
sysinfo.workspace = true

Expand Down
5 changes: 0 additions & 5 deletions crates/sui-cluster-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ publish = false
edition = "2021"

[dependencies]
serde.workspace = true
futures.workspace = true
serde_json.workspace = true
tempfile.workspace = true
Expand All @@ -18,20 +17,17 @@ clap.workspace = true
reqwest.workspace = true
async-trait.workspace = true
anyhow = { workspace = true, features = ["backtrace"] }
bcs.workspace = true
uuid.workspace = true
prometheus.workspace = true
fastcrypto.workspace = true
shared-crypto.workspace = true
mysten-metrics.workspace = true

sui-indexer.workspace = true
sui-faucet.workspace = true
sui-swarm.workspace = true
sui.workspace = true
sui-swarm-config.workspace = true
sui-json-rpc-types.workspace = true
sui-move-build.workspace = true
sui-sdk.workspace = true
sui-keys.workspace = true
sui-types.workspace = true
Expand All @@ -42,5 +38,4 @@ sui-test-transaction-builder.workspace = true
telemetry-subscribers.workspace = true

test-cluster.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }
move-core-types.workspace = true
5 changes: 0 additions & 5 deletions crates/sui-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,19 @@ bcs.workspace = true
csv.workspace = true
dirs.workspace = true
fastcrypto.workspace = true
move-binary-format.workspace = true
move-core-types.workspace = true
once_cell.workspace = true
rand.workspace = true
serde = { workspace = true, features = ["derive", "rc"] }
serde_with.workspace = true
serde_yaml.workspace = true
tempfile.workspace = true
tracing.workspace = true
prometheus.workspace = true

narwhal-config.workspace = true
shared-crypto.workspace = true
sui-keys.workspace = true
sui-protocol-config.workspace = true
sui-storage.workspace = true
sui-types.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[target.'cfg(msim)'.dependencies]
sui-simulator.workspace = true
Expand Down
2 changes: 0 additions & 2 deletions crates/sui-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ once_cell.workspace = true
parking_lot.workspace = true
prometheus.workspace = true
rand.workspace = true
reqwest.workspace = true
rocksdb.workspace = true
scopeguard.workspace = true
serde.workspace = true
Expand Down Expand Up @@ -79,7 +78,6 @@ sui-transaction-checks.workspace = true
sui-simulator.workspace = true
sui-storage.workspace = true
sui-types.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[dev-dependencies]
clap.workspace = true
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-e2e-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ publish = false
edition = "2021"
version = "0.1.0"

[dependencies]
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[dev-dependencies]
tempfile.workspace = true
futures.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/sui-enum-compat-util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ edition = "2021"

[dependencies]
serde_yaml.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }
3 changes: 0 additions & 3 deletions crates/sui-faucet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ prometheus.workspace = true
scopeguard.workspace = true
tap.workspace = true
ttl_cache.workspace = true
eyre.workspace = true
rocksdb.workspace = true
tempfile.workspace = true
parking_lot.workspace = true

Expand All @@ -42,7 +40,6 @@ typed-store.workspace = true
typed-store-derive.workspace = true
shared-crypto.workspace = true
async-recursion.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[dev-dependencies]
test-cluster.workspace = true
Expand Down
1 change: 0 additions & 1 deletion crates/sui-framework-snapshot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ git-version.workspace = true
sui-framework.workspace = true
sui-protocol-config.workspace = true
sui-types.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[dev-dependencies]
tokio = { workspace = true, features = ["full"] }
1 change: 0 additions & 1 deletion crates/sui-framework-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ move-package.workspace = true
move-unit-test.workspace = true

[dependencies]
workspace-hack = { version = "0.1", path = "../workspace-hack" }
1 change: 0 additions & 1 deletion crates/sui-framework/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ sui-types.workspace = true

move-binary-format.workspace = true
move-core-types.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }

[build-dependencies]
anyhow.workspace = true
Expand Down
8 changes: 0 additions & 8 deletions crates/sui-genesis-builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ publish = false
edition = "2021"

[dependencies]
anemo.workspace = true
anyhow.workspace = true
bcs.workspace = true
camino.workspace = true
csv.workspace = true
dirs.workspace = true
fastcrypto.workspace = true
move-binary-format.workspace = true
move-core-types.workspace = true
once_cell.workspace = true
rand.workspace = true
serde.workspace = true
serde_with.workspace = true
Expand All @@ -25,16 +21,12 @@ tempfile.workspace = true
tracing.workspace = true
prometheus.workspace = true

narwhal-config.workspace = true
shared-crypto.workspace = true
sui-config.workspace = true
sui-execution.workspace = true
sui-framework.workspace = true
sui-keys.workspace = true
sui-protocol-config.workspace = true
sui-storage.workspace = true
sui-types.workspace = true
workspace-hack = { version = "0.1", path = "../workspace-hack" }
[target.'cfg(msim)'.dependencies]
sui-simulator.workspace = true

Expand Down
4 changes: 0 additions & 4 deletions crates/sui-graphql-rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ edition = "2021"


[dependencies]
anyhow.workspace = true
async-graphql = {workspace = true, features = ["dataloader"] }
async-graphql-axum = { version = "5.0.10" }
async-trait.workspace = true
Expand All @@ -27,13 +26,10 @@ toml.workspace = true
thiserror.workspace = true
uuid.workspace = true

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

# TODO: put these behind feature flag to prevent leakage
# Used for dummy data
bcs.workspace = true
sui-sdk.workspace = true
sui-json-rpc.workspace = true
sui-json-rpc-types.workspace = true

[dev-dependencies]
Expand Down
Loading