Skip to content

Commit 66fec94

Browse files
mversic6r1d
authored andcommitted
[refactor]: remove unused dependencies (#3992)
Signed-off-by: Marin Veršić <[email protected]>
1 parent 5a1b310 commit 66fec94

File tree

6 files changed

+5
-14
lines changed

6 files changed

+5
-14
lines changed

Cargo.lock

-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

-3
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ manyhow = { version = "0.8.1", features = ["darling"] }
6666
darling = "0.20.3"
6767

6868
futures = { version = "0.3.28", default-features = false }
69-
async-stream = "0.3.5"
7069
tokio = "1.33.0"
7170
tokio-stream = "0.1.14"
7271
tokio-tungstenite = "0.20.1"
@@ -79,7 +78,6 @@ once_cell = "1.18.0"
7978
tempfile = "3.8.0"
8079
path-absolutize = "3.1.1"
8180
pathdiff = "0.2.1"
82-
itertools = "0.11.0"
8381
bytes = "1.5.0"
8482

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

103101
criterion = "0.5.1"
104102
proptest = "1.3.1"
105-
expect-test = "1.4.1"
106103

107104
eyre = "0.6.8"
108105
color-eyre = "0.6.2"

core/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ displaydoc = { workspace = true }
6868
wasmtime = { workspace = true }
6969
parking_lot = { workspace = true, features = ["deadlock_detection"] }
7070
derive_more = { workspace = true }
71-
itertools = { workspace = true }
7271

7372
[dev-dependencies]
7473
criterion = { workspace = true }

data_model/Cargo.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ default = ["std"]
2121
# Enable static linkage of the rust standard library.
2222
# Disabled for WASM interoperability, to reduce the binary size.
2323
# Please refer to https://docs.rust-embedded.org/book/intro/no-std.html
24-
std = ["iroha_macro/std", "iroha_version/std", "iroha_crypto/std", "iroha_primitives/std", "thiserror", "displaydoc/std", "strum/std", "dashmap", "tokio"]
24+
std = ["iroha_macro/std", "iroha_version/std", "iroha_crypto/std", "iroha_primitives/std", "thiserror", "displaydoc/std", "strum/std"]
2525
# Enable API for HTTP requests. Should be activated for HTTP clients
2626
http = ["std", "warp", "iroha_version/http"]
2727
# Replace structures and methods with FFI equivalents to facilitate dynamic linkage (mainly used in smartcontracts)
@@ -41,8 +41,6 @@ iroha_version = { workspace = true, features = ["derive", "json", "scale"] }
4141
iroha_schema = { workspace = true }
4242
iroha_ffi = { workspace = true, optional = true }
4343

44-
dashmap = { workspace = true, optional = true }
45-
tokio = { workspace = true, optional = true, features = ["sync", "rt-multi-thread"] }
4644
parity-scale-codec = { workspace = true, features = ["derive"] }
4745
derive_more = { workspace = true, features = ["as_ref", "display", "constructor", "from_str", "from", "into"] }
4846
serde = { workspace = true, features = ["derive"] }

p2p/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ iroha_data_model_derive = { workspace = true }
2121

2222
rand = { workspace = true }
2323
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "io-util", "net", "time"] }
24-
async-stream = { workspace = true }
2524
futures = { workspace = true, features = ["alloc"] }
2625
async-trait = { workspace = true }
2726
parity-scale-codec = { workspace = true, features = ["derive"] }

tools/swarm/Cargo.toml

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ workspace = true
1313
iroha_crypto.workspace = true
1414
iroha_data_model.workspace = true
1515
iroha_primitives.workspace = true
16-
iroha_config.workspace = true
1716
color-eyre.workspace = true
18-
expect-test.workspace = true
1917
path-absolutize.workspace = true
2018
pathdiff.workspace = true
2119
owo-colors = { workspace = true, features = ["supports-colors"] }
@@ -26,3 +24,7 @@ serde_json.workspace = true
2624
derive_more.workspace = true
2725
inquire.workspace = true
2826

27+
[dev-dependencies]
28+
iroha_config.workspace = true
29+
30+
expect-test = "1.4.1"

0 commit comments

Comments
 (0)