Skip to content

Commit d578e08

Browse files
authored
chore(relay): use tokio on the tests instead of async-std
Pull-Request: #6073.
1 parent a53c85f commit d578e08

File tree

3 files changed

+131
-125
lines changed

3 files changed

+131
-125
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

protocols/relay/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ tracing = { workspace = true }
3232
libp2p-identity = { workspace = true, features = ["rand"] }
3333
libp2p-ping = { workspace = true }
3434
libp2p-plaintext = { workspace = true }
35-
libp2p-swarm = { workspace = true, features = ["macros", "async-std"] }
35+
libp2p-swarm = { workspace = true, features = ["macros", "tokio"] }
3636
libp2p-swarm-test = { workspace = true }
3737
libp2p-yamux = { workspace = true }
3838
quickcheck = { workspace = true }
3939
tracing-subscriber = { workspace = true, features = ["env-filter"] }
40+
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
4041

4142

4243
# Passing arguments to the docsrs builder in order to properly document cfg's.

0 commit comments

Comments
 (0)