mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-04-25 03:02:12 +00:00
*: Update to tokio v1.0.1 (#1919)
Co-authored-by: Roman Borschel <romanb@users.noreply.github.com>
This commit is contained in:
parent
a223e4ba9d
commit
a10f4e2879
@ -93,7 +93,7 @@ libp2p-websocket = { version = "0.28.0", path = "transports/websocket", optional
|
||||
[dev-dependencies]
|
||||
async-std = { version = "1.6.2", features = ["attributes"] }
|
||||
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]
|
||||
members = [
|
||||
|
@ -27,4 +27,4 @@ void = "1.0.2"
|
||||
[dev-dependencies]
|
||||
async-std = "1.7.0"
|
||||
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"] }
|
||||
|
@ -20,7 +20,7 @@ libc = "0.2.80"
|
||||
libp2p-core = { version = "0.27.0", path = "../../core" }
|
||||
log = "0.4.11"
|
||||
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]
|
||||
default = ["async-io"]
|
||||
@ -29,5 +29,5 @@ async-io = ["async-io-crate", "if-watch"]
|
||||
|
||||
[dev-dependencies]
|
||||
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"
|
||||
|
@ -14,7 +14,7 @@ async-std = { version = "1.6.2", optional = true }
|
||||
libp2p-core = { version = "0.27.0", path = "../../core" }
|
||||
log = "0.4.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]
|
||||
tempfile = "3.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user