Skip to content

Commit

Permalink
[refactor]: remove unused dependencies (#3992)
Browse files Browse the repository at this point in the history
Signed-off-by: Marin Veršić <marin.versic101@gmail.com>
  • Loading branch information
mversic authored and 6r1d committed Oct 17, 2023
1 parent 5a1b310 commit 66fec94
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 14 deletions.
4 changes: 0 additions & 4 deletions Cargo.lock

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

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ manyhow = { version = "0.8.1", features = ["darling"] }
darling = "0.20.3"

futures = { version = "0.3.28", default-features = false }
async-stream = "0.3.5"
tokio = "1.33.0"
tokio-stream = "0.1.14"
tokio-tungstenite = "0.20.1"
Expand All @@ -79,7 +78,6 @@ once_cell = "1.18.0"
tempfile = "3.8.0"
path-absolutize = "3.1.1"
pathdiff = "0.2.1"
itertools = "0.11.0"
bytes = "1.5.0"

vergen = { version = "8.2.5", default-features = false }
Expand All @@ -102,7 +100,6 @@ duct = "0.13.6"

criterion = "0.5.1"
proptest = "1.3.1"
expect-test = "1.4.1"

eyre = "0.6.8"
color-eyre = "0.6.2"
Expand Down
1 change: 0 additions & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ displaydoc = { workspace = true }
wasmtime = { workspace = true }
parking_lot = { workspace = true, features = ["deadlock_detection"] }
derive_more = { workspace = true }
itertools = { workspace = true }

[dev-dependencies]
criterion = { workspace = true }
Expand Down
4 changes: 1 addition & 3 deletions data_model/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ default = ["std"]
# Enable static linkage of the rust standard library.
# Disabled for WASM interoperability, to reduce the binary size.
# Please refer to https://docs.rust-embedded.org/book/intro/no-std.html
std = ["iroha_macro/std", "iroha_version/std", "iroha_crypto/std", "iroha_primitives/std", "thiserror", "displaydoc/std", "strum/std", "dashmap", "tokio"]
std = ["iroha_macro/std", "iroha_version/std", "iroha_crypto/std", "iroha_primitives/std", "thiserror", "displaydoc/std", "strum/std"]
# Enable API for HTTP requests. Should be activated for HTTP clients
http = ["std", "warp", "iroha_version/http"]
# Replace structures and methods with FFI equivalents to facilitate dynamic linkage (mainly used in smartcontracts)
Expand All @@ -41,8 +41,6 @@ iroha_version = { workspace = true, features = ["derive", "json", "scale"] }
iroha_schema = { workspace = true }
iroha_ffi = { workspace = true, optional = true }

dashmap = { workspace = true, optional = true }
tokio = { workspace = true, optional = true, features = ["sync", "rt-multi-thread"] }
parity-scale-codec = { workspace = true, features = ["derive"] }
derive_more = { workspace = true, features = ["as_ref", "display", "constructor", "from_str", "from", "into"] }
serde = { workspace = true, features = ["derive"] }
Expand Down
1 change: 0 additions & 1 deletion p2p/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ iroha_data_model_derive = { workspace = true }

rand = { workspace = true }
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "io-util", "net", "time"] }
async-stream = { workspace = true }
futures = { workspace = true, features = ["alloc"] }
async-trait = { workspace = true }
parity-scale-codec = { workspace = true, features = ["derive"] }
Expand Down
6 changes: 4 additions & 2 deletions tools/swarm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ workspace = true
iroha_crypto.workspace = true
iroha_data_model.workspace = true
iroha_primitives.workspace = true
iroha_config.workspace = true
color-eyre.workspace = true
expect-test.workspace = true
path-absolutize.workspace = true
pathdiff.workspace = true
owo-colors = { workspace = true, features = ["supports-colors"] }
Expand All @@ -26,3 +24,7 @@ serde_json.workspace = true
derive_more.workspace = true
inquire.workspace = true

[dev-dependencies]
iroha_config.workspace = true

expect-test = "1.4.1"

0 comments on commit 66fec94

Please sign in to comment.