Skip to content

Commit

Permalink
Fix unused dependency errors (#4757)
Browse files Browse the repository at this point in the history
  • Loading branch information
mystenmark committed Sep 23, 2022
1 parent c6af384 commit 61f2ccb
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 11 deletions.
3 changes: 0 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions crates/sui-benchmark/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,5 @@ narwhal-node = { git = "https://github.com/MystenLabs/narwhal", rev = "9d667b470
workspace-hack = { path = "../workspace-hack"}
test-utils = { path = "../test-utils" }

[target.'cfg(not(target_env = "msvc"))'.dependencies]
jemallocator = { version = "^0.5", features = ["profiling"] }
jemalloc-ctl = "^0.5"

[features]
benchmark = ["narwhal-node/benchmark"]
4 changes: 3 additions & 1 deletion crates/sui-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@ narwhal-crypto = { git = "https://github.com/MystenLabs/narwhal", rev = "9d667b4

sui-framework = { path = "../sui-framework" }
sui-adapter = { path = "../sui-adapter" }
sui-simulator = { path = "../sui-simulator" }
sui-types = { path = "../sui-types" }
workspace-hack = { path = "../workspace-hack"}
sha3 = "0.10.4"
digest = "0.10.3"

[target.'cfg(msim)'.dependencies]
sui-simulator = { path = "../sui-simulator" }

[dev-dependencies]
insta = { version = "1.19.1", features = ["redactions", "yaml"] }
tempfile = "3.3.0"
1 change: 0 additions & 1 deletion crates/sui-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ edition = "2021"
proc-macro = true

[dependencies]
darling = "0.14"
proc-macro2 = "1"
quote = "1"
syn = "1"
Expand Down
4 changes: 3 additions & 1 deletion crates/sui-swarm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ prometheus = "0.13.2"

sui-config = { path = "../sui-config" }
sui-node = { path = "../sui-node" }
sui-simulator = { path = "../sui-simulator" }
sui-types = { path = "../sui-types" }

mysten-network = "0.1.0"
workspace-hack = { path = "../workspace-hack"}

[target.'cfg(msim)'.dependencies]
sui-simulator = { path = "../sui-simulator" }

[dev-dependencies]
telemetry-subscribers = "0.1.0"
4 changes: 3 additions & 1 deletion crates/sui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ sui-framework = { path = "../sui-framework" }
sui-config = { path = "../sui-config" }
sui-types = { path = "../sui-types" }
sui-json = { path = "../sui-json" }
sui-simulator = { path = "../sui-simulator" }
sui-swarm = { path = "../sui-swarm" }
sui-json-rpc-types = { path = "../sui-json-rpc-types" }
sui-sdk = { path = "../sui-sdk" }
Expand Down Expand Up @@ -61,6 +60,9 @@ hex = "0.4.3"
jemallocator = { version = "^0.5", features = ["profiling"] }
jemalloc-ctl = "^0.5"

[target.'cfg(msim)'.dependencies]
sui-simulator = { path = "../sui-simulator" }

[dev-dependencies]
tempfile = "3.3.0"
futures = "0.3.23"
Expand Down

0 comments on commit 61f2ccb

Please sign in to comment.