*: Update to tokio v1.0.1 (#1919)

Co-authored-by: Roman Borschel <romanb@users.noreply.github.com>
This commit is contained in:
Max Inden 2021-01-12 15:50:24 +01:00 committed by GitHub
parent a223e4ba9d
commit a10f4e2879
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -93,7 +93,7 @@ libp2p-websocket = { version = "0.28.0", path = "transports/websocket", optional
[dev-dependencies] [dev-dependencies]
async-std = { version = "1.6.2", features = ["attributes"] } async-std = { version = "1.6.2", features = ["attributes"] }
env_logger = "0.8.1" env_logger = "0.8.1"
tokio = { version = "0.3", features = ["io-util", "io-std", "stream", "macros", "rt", "rt-multi-thread"] } tokio = { version = "1.0.1", features = ["io-util", "io-std", "macros", "rt", "rt-multi-thread"] }
[workspace] [workspace]
members = [ members = [

View File

@ -27,4 +27,4 @@ void = "1.0.2"
[dev-dependencies] [dev-dependencies]
async-std = "1.7.0" async-std = "1.7.0"
if-addrs = "0.6.5" if-addrs = "0.6.5"
tokio = { version = "0.3.4", default-features = false, features = ["rt", "rt-multi-thread"] } tokio = { version = "1.0.1", default-features = false, features = ["rt", "rt-multi-thread"] }

View File

@ -20,7 +20,7 @@ libc = "0.2.80"
libp2p-core = { version = "0.27.0", path = "../../core" } libp2p-core = { version = "0.27.0", path = "../../core" }
log = "0.4.11" log = "0.4.11"
socket2 = { version = "0.3.17", features = ["reuseport"] } socket2 = { version = "0.3.17", features = ["reuseport"] }
tokio-crate = { package = "tokio", version = "0.3", default-features = false, features = ["net"], optional = true } tokio-crate = { package = "tokio", version = "1.0.1", default-features = false, features = ["net"], optional = true }
[features] [features]
default = ["async-io"] default = ["async-io"]
@ -29,5 +29,5 @@ async-io = ["async-io-crate", "if-watch"]
[dev-dependencies] [dev-dependencies]
async-std = { version = "1.6.5", features = ["attributes"] } async-std = { version = "1.6.5", features = ["attributes"] }
tokio-crate = { package = "tokio", version = "0.3", default-features = false, features = ["net", "rt"] } tokio-crate = { package = "tokio", version = "1.0.1", default-features = false, features = ["net", "rt"] }
env_logger = "0.8.2" env_logger = "0.8.2"

View File

@ -14,7 +14,7 @@ async-std = { version = "1.6.2", optional = true }
libp2p-core = { version = "0.27.0", path = "../../core" } libp2p-core = { version = "0.27.0", path = "../../core" }
log = "0.4.1" log = "0.4.1"
futures = "0.3.1" futures = "0.3.1"
tokio = { version = "0.3", default-features = false, features = ["net"], optional = true } tokio = { version = "1.0.1", default-features = false, features = ["net"], optional = true }
[target.'cfg(all(unix, not(target_os = "emscripten")))'.dev-dependencies] [target.'cfg(all(unix, not(target_os = "emscripten")))'.dev-dependencies]
tempfile = "3.0" tempfile = "3.0"