diff --git a/Cargo.lock b/Cargo.lock index e5ac91c..8790c8e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -649,9 +649,9 @@ checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" [[package]] name = "mio" -version = "0.7.14" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc" +checksum = "ba272f85fa0b41fc91872be579b3bbe0f56b792aa361a380eb669469f68dafb2" dependencies = [ "libc", "log", @@ -1080,9 +1080,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.16.1" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c27a64b625de6d309e8c57716ba93021dccf1b3b5c97edd6d3dd2d2135afc0a" +checksum = "2af73ac49756f3f7c01172e34a23e5d0216f6c32333757c2c61feb2bbff5a5ee" dependencies = [ "bytes", "libc", @@ -1090,6 +1090,7 @@ dependencies = [ "mio", "num_cpus", "pin-project-lite", + "socket2", "winapi", ] diff --git a/Cargo.toml b/Cargo.toml index df9420e..0daa2ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,7 +26,7 @@ snap = "1.0" futures = "0.3" url = { version = "2.2", optional = true } tokio-util = { version = "0.7", features = ["codec"] , optional = true } -tokio = { version = "1.16", default-features = false, optional = true, features = ["fs"] } +tokio = { version = "1.17", default-features = false, optional = true, features = ["fs"] } reqwest = { version = "0.11", default-features = false, features = ["rustls-tls"], optional = true} thiserror = "1.0" md5 = "0.7"