-
Notifications
You must be signed in to change notification settings - Fork 964
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: replace async-std with tokio in autonat tests (#5671)
## Description ref #4449 Refactored `autonat` tests to use `tokio` instead of `async-std`.
- Loading branch information
Showing
4 changed files
with
28 additions
and
26 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,11 @@ edition = "2021" | |
rust-version = { workspace = true } | ||
description = "NAT and firewall detection for libp2p" | ||
version = "0.13.1" | ||
authors = ["David Craven <[email protected]>", "Elena Frank <[email protected]>", "Hannes Furmans <[email protected]>"] | ||
authors = [ | ||
"David Craven <[email protected]>", | ||
"Elena Frank <[email protected]>", | ||
"Hannes Furmans <[email protected]>", | ||
] | ||
license = "MIT" | ||
repository = "https://github.com/libp2p/rust-libp2p" | ||
keywords = ["peer-to-peer", "libp2p", "networking"] | ||
|
@@ -32,12 +36,11 @@ rand_core = { version = "0.6", optional = true } | |
thiserror = { version = "1.0.52", optional = true } | ||
|
||
[dev-dependencies] | ||
tokio = { version = "1", features = ["macros", "rt", "sync"]} | ||
async-std = { version = "1.10", features = ["attributes"] } | ||
tokio = { workspace = true, features = ["macros", "rt", "sync"] } | ||
libp2p-swarm-test = { path = "../../swarm-test" } | ||
tracing-subscriber = { version = "0.3", features = ["env-filter"] } | ||
libp2p-identify = { workspace = true } | ||
libp2p-swarm = { workspace = true, features = ["macros"]} | ||
libp2p-swarm = { workspace = true, features = ["macros"] } | ||
|
||
[features] | ||
default = ["v1", "v2"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters