diff --git a/Cargo.toml b/Cargo.toml index 6e9a42e8..4eb1f03e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -87,7 +87,7 @@ libp2p-tcp = { version = "0.19.0", path = "transports/tcp", optional = true } libp2p-websocket = { version = "0.19.0", path = "transports/websocket", optional = true } [dev-dependencies] -async-std = "1.0" +async-std = "< 1.6" env_logger = "0.7.1" [workspace] diff --git a/core/Cargo.toml b/core/Cargo.toml index c2f8166b..bc3cc3a9 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -39,7 +39,7 @@ zeroize = "1" ring = { version = "0.16.9", features = ["alloc", "std"], default-features = false } [dev-dependencies] -async-std = "1.0" +async-std = "< 1.6" libp2p-mplex = { version = "0.19.0", path = "../muxers/mplex" } libp2p-secio = { version = "0.19.0", path = "../protocols/secio" } libp2p-tcp = { version = "0.19.0", path = "../transports/tcp" } diff --git a/misc/multistream-select/Cargo.toml b/misc/multistream-select/Cargo.toml index fa4f03e9..8063c9d9 100644 --- a/misc/multistream-select/Cargo.toml +++ b/misc/multistream-select/Cargo.toml @@ -18,7 +18,7 @@ smallvec = "1.0" unsigned-varint = "0.3.2" [dev-dependencies] -async-std = "1.2" +async-std = "< 1.6" quickcheck = "0.9.0" rand = "0.7.2" rw-stream-sink = "0.2.1" diff --git a/muxers/mplex/Cargo.toml b/muxers/mplex/Cargo.toml index 23398a67..1b97b3f3 100644 --- a/muxers/mplex/Cargo.toml +++ b/muxers/mplex/Cargo.toml @@ -20,5 +20,5 @@ parking_lot = "0.10" unsigned-varint = { version = "0.3", features = ["futures-codec"] } [dev-dependencies] -async-std = "1.0" +async-std = "< 1.6" libp2p-tcp = { version = "0.19.0", path = "../../transports/tcp" } diff --git a/protocols/deflate/Cargo.toml b/protocols/deflate/Cargo.toml index ab7f0018..b6387ec8 100644 --- a/protocols/deflate/Cargo.toml +++ b/protocols/deflate/Cargo.toml @@ -15,7 +15,7 @@ libp2p-core = { version = "0.19.0", path = "../../core" } flate2 = "1.0" [dev-dependencies] -async-std = "1.0" +async-std = "< 1.6" libp2p-tcp = { version = "0.19.0", path = "../../transports/tcp" } rand = "0.7" quickcheck = "0.9" diff --git a/protocols/gossipsub/Cargo.toml b/protocols/gossipsub/Cargo.toml index 8d91104d..04d68712 100644 --- a/protocols/gossipsub/Cargo.toml +++ b/protocols/gossipsub/Cargo.toml @@ -28,7 +28,7 @@ smallvec = "1.1.0" prost = "0.6.1" [dev-dependencies] -async-std = "1.4.0" +async-std = "< 1.6" env_logger = "0.7.1" libp2p-plaintext = { version = "0.19.0", path = "../plaintext" } libp2p-yamux = { version = "0.19.0", path = "../../muxers/yamux" } diff --git a/protocols/identify/Cargo.toml b/protocols/identify/Cargo.toml index 77f3dec9..471d5cd6 100644 --- a/protocols/identify/Cargo.toml +++ b/protocols/identify/Cargo.toml @@ -19,7 +19,7 @@ smallvec = "1.0" wasm-timer = "0.2" [dev-dependencies] -async-std = "1.0" +async-std = "< 1.6" libp2p-mplex = { version = "0.19.0", path = "../../muxers/mplex" } libp2p-secio = { version = "0.19.0", path = "../../protocols/secio" } libp2p-tcp = { version = "0.19.0", path = "../../transports/tcp" } diff --git a/protocols/mdns/Cargo.toml b/protocols/mdns/Cargo.toml index f61572d1..128abfd9 100644 --- a/protocols/mdns/Cargo.toml +++ b/protocols/mdns/Cargo.toml @@ -10,7 +10,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] -async-std = "1.0" +async-std = "< 1.6" data-encoding = "2.0" dns-parser = "0.8" either = "1.5.3" diff --git a/protocols/noise/Cargo.toml b/protocols/noise/Cargo.toml index 1f812f1e..53eb0ff0 100644 --- a/protocols/noise/Cargo.toml +++ b/protocols/noise/Cargo.toml @@ -28,7 +28,7 @@ snow = { version = "0.6.1", features = ["default-resolver"], default-features = [dev-dependencies] env_logger = "0.7.1" -libp2p-tcp = { version = "0.19.0", path = "../../transports/tcp" } +libp2p-tcp = { version = "0.19.0", path = "../../transports/tcp", features = ["async-std"] } quickcheck = "0.9.0" sodiumoxide = "^0.2.5" diff --git a/protocols/ping/Cargo.toml b/protocols/ping/Cargo.toml index 0b6a9960..f3ca4791 100644 --- a/protocols/ping/Cargo.toml +++ b/protocols/ping/Cargo.toml @@ -19,7 +19,7 @@ void = "1.0" wasm-timer = "0.2" [dev-dependencies] -async-std = "1.0" +async-std = "< 1.6" libp2p-tcp = { version = "0.19.0", path = "../../transports/tcp" } libp2p-secio = { version = "0.19.0", path = "../../protocols/secio" } libp2p-yamux = { version = "0.19.0", path = "../../muxers/yamux" } diff --git a/protocols/secio/Cargo.toml b/protocols/secio/Cargo.toml index a24f4990..58028948 100644 --- a/protocols/secio/Cargo.toml +++ b/protocols/secio/Cargo.toml @@ -46,7 +46,7 @@ secp256k1 = [] aes-all = ["aesni"] [dev-dependencies] -async-std = "1.0" +async-std = "< 1.6" criterion = "0.3" libp2p-mplex = { version = "0.19.0", path = "../../muxers/mplex" } libp2p-tcp = { version = "0.19.0", path = "../../transports/tcp" } diff --git a/transports/tcp/Cargo.toml b/transports/tcp/Cargo.toml index 8b6a5af4..d254fe7a 100644 --- a/transports/tcp/Cargo.toml +++ b/transports/tcp/Cargo.toml @@ -10,7 +10,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [dependencies] -async-std = { version = "1.0", optional = true } +async-std = { version = "< 1.6", optional = true } futures = "0.3.1" futures-timer = "3.0" get_if_addrs = "0.5.3" diff --git a/transports/uds/Cargo.toml b/transports/uds/Cargo.toml index 0fcfa6ff..2639ede3 100644 --- a/transports/uds/Cargo.toml +++ b/transports/uds/Cargo.toml @@ -10,7 +10,7 @@ keywords = ["peer-to-peer", "libp2p", "networking"] categories = ["network-programming", "asynchronous"] [target.'cfg(all(unix, not(any(target_os = "emscripten", target_os = "unknown"))))'.dependencies] -async-std = { version = "1.0", optional = true } +async-std = { version = "< 1.6", optional = true } libp2p-core = { version = "0.19.0", path = "../../core" } log = "0.4.1" futures = "0.3.1"