Skip to content

Commit f11f9e4

Browse files
Sort dependency list in gossipsub
1 parent 281b88a commit f11f9e4

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

protocols/gossipsub/Cargo.toml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,33 @@ categories = ["network-programming", "asynchronous"]
1414
wasm-bindgen = ["getrandom/js", "instant/wasm-bindgen"]
1515

1616
[dependencies]
17-
either = "1.5"
18-
libp2p-swarm = { workspace = true }
19-
libp2p-core = { workspace = true }
20-
libp2p-identity = { workspace = true }
21-
bytes = "1.4"
17+
asynchronous-codec = "0.6"
18+
base64 = "0.21.0"
2219
byteorder = "1.3.4"
20+
bytes = "1.4"
21+
either = "1.5"
2322
fnv = "1.0.7"
2423
futures = "0.3.28"
25-
rand = "0.8"
26-
asynchronous-codec = "0.6"
27-
unsigned-varint = { version = "0.7.0", features = ["asynchronous_codec"] }
24+
getrandom = "0.2.9"
25+
hex_fmt = "0.3.0"
26+
instant = "0.1.11"
27+
libp2p-core = { workspace = true }
28+
libp2p-identity = { workspace = true }
29+
libp2p-swarm = { workspace = true }
2830
log = "0.4.11"
29-
sha2 = "0.10.0"
30-
base64 = "0.21.0"
31-
smallvec = "1.6.1"
3231
quick-protobuf = "0.8"
3332
quick-protobuf-codec = { workspace = true }
34-
hex_fmt = "0.3.0"
33+
rand = "0.8"
3534
regex = "1.8.1"
3635
serde = { version = "1", optional = true, features = ["derive"] }
37-
wasm-timer = "0.2.5"
38-
instant = "0.1.11"
36+
sha2 = "0.10.0"
37+
smallvec = "1.6.1"
38+
unsigned-varint = { version = "0.7.0", features = ["asynchronous_codec"] }
3939
void = "1.0.2"
40+
wasm-timer = "0.2.5"
41+
4042
# Metrics dependencies
4143
prometheus-client = "0.21.0"
42-
getrandom = "0.2.9"
4344

4445
[dev-dependencies]
4546
async-std = { version = "1.6.3", features = ["unstable"] }

0 commit comments

Comments
 (0)