Bump to Tokio 0.3.0

This commit is contained in:
John-John Tedro 2020-10-28 03:26:31 +01:00
parent 56e584fe76
commit 43c8b1cb63
5 changed files with 24 additions and 21 deletions

View file

@ -36,7 +36,7 @@ yaml = ["yaml_config"]
proxy = ["tokio-socks"]
tls-native = ["native-tls", "tokio-tls"]
tls-native = ["native-tls", "tokio-native-tls"]
tls-rust = ["tokio-rustls", "webpki-roots"]
@ -52,8 +52,8 @@ log = "0.4.0"
parking_lot = "0.11.0"
pin-utils = "0.1.0-alpha.4"
thiserror = "1.0.0"
tokio = { version = "0.2.0", features = ["macros", "net", "stream", "time"] }
tokio-util = { version = "0.3.0", features = ["codec"] }
tokio = { version = "0.3.0", features = ["net", "stream", "time"] }
tokio-util = { version = "0.4.0", features = ["codec"] }
# Feature - Config
serde = { version = "1.0.0", optional = true }
@ -67,8 +67,8 @@ tokio-socks = { version = "0.3.0", optional = true }
# Feature - TLS
native-tls = { version = "0.2.0", optional = true }
tokio-rustls = { version = "0.14.0", optional = true }
tokio-tls = { version = "0.3.0", optional = true }
tokio-rustls = { version = "0.20.0", optional = true }
tokio-native-tls = { version = "0.2.0", optional = true }
webpki-roots = { version = "0.20.0", optional = true }
@ -78,6 +78,7 @@ args = "2.0.0"
env_logger = "0.7.0"
futures = "0.3.0"
getopts = "0.2.0"
tokio = { version = "0.3.0", features = ["rt", "rt-multi-thread", "macros", "net", "stream", "time"] }
[[example]]