Skip to content

Commit

Permalink
Update to tokio 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bschwind committed Dec 25, 2020
1 parent f574fde commit 1bf1696
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 34 deletions.
73 changes: 46 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion fuzz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition = "2018"
cargo-fuzz = true

[dependencies]
bytes = "0.5.0"
bytes = "1"
libfuzzer-sys = "0.3"

[dependencies.mqtt-v5]
Expand Down
6 changes: 3 additions & 3 deletions mqtt-v5-broker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ authors = ["Brian Schwind <[email protected]>"]
edition = "2018"

[dependencies]
bytes = "0.6"
tokio = { version = "0.3", features = ["net", "rt-multi-thread", "sync", "time", "macros"] }
tokio-util = { version = "0.5", features = ["codec"] }
bytes = "1"
tokio = { version = "1", features = ["net", "rt-multi-thread", "sync", "time", "macros"] }
tokio-util = { version = "0.6", features = ["codec"] }
mqtt-v5 = { path = "../mqtt-v5", version = "0.2" }
nanoid = "0.3"
futures = "0.3"
6 changes: 3 additions & 3 deletions mqtt-v5/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ codec = ["tokio-util"]
websocket = ["codec", "websocket-codec", "sha1", "base64"]

[dependencies]
bytes = "0.6"
bytes = "1"
num_enum = "0.4"
tokio-util = { optional = true, version = "0.5", features = ["codec"] }
websocket-codec = { optional = true, version = "0.4" }
tokio-util = { optional = true, version = "0.6", features = ["codec"] }
websocket-codec = { optional = true, version = "0.5" }
sha1 = { optional = true, version = "0.6" }
base64 = { optional = true, version = "0.11" }

0 comments on commit 1bf1696

Please sign in to comment.