From 52d96df400a2be5218bac831ef1792889c8022d2 Mon Sep 17 00:00:00 2001 From: bochaco Date: Tue, 23 Feb 2021 20:49:57 -0300 Subject: [PATCH] chore(tokio): upgrade tokio to v1.2.0 --- Cargo.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fdf9accb..c4699d21 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,17 +27,19 @@ webpki = "~0.21.3" features = [ "serde" ] [dependencies.igd] - version = "~0.11.1" + version = "~0.12.0" features = [ "aio" ] optional = true [dependencies.quinn] - version = "~0.6.1" + #version = "~0.7.0" + git = "https://github.com/quinn-rs/quinn.git" + branch = "main" features = [ "tls-rustls" ] default-features = false [dependencies.rustls] - version = "~0.17.0" + version = "~0.19.0" features = [ "dangerous_configuration" ] [dependencies.serde] @@ -45,8 +47,8 @@ webpki = "~0.21.3" features = [ "derive" ] [dependencies.tokio] - version = "~0.2.24" - features = [ "rt-threaded", "sync", "time", "macros", "io-std", "io-util" ] + version = "1.2.0" + features = [ "rt", "sync", "time", "macros", "io-std", "io-util", "rt-multi-thread" ] [dev-dependencies] flexi_logger = "~0.16.1"