Skip to content

Commit

Permalink
*: Update to tokio v1.0.1 (#1919)
Browse files Browse the repository at this point in the history
Co-authored-by: Roman Borschel <romanb@users.noreply.github.com>
  • Loading branch information
mxinden and romanb authored Jan 12, 2021
1 parent a223e4b commit a10f4e2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
2 changes: 1 addition & 1 deletion protocols/mdns/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
4 changes: 2 additions & 2 deletions transports/tcp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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"
2 changes: 1 addition & 1 deletion transports/uds/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a10f4e2

Please sign in to comment.