diff --git a/Cargo.lock b/Cargo.lock index 10c55f5..3296351 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -912,9 +912,22 @@ dependencies = [ [[package]] name = "mio" -version = "0.7.13" +version = "0.7.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c2bdb6314ec10835cd3293dd268473a835c02b7b352e788be788b3c6ca6bb16" +checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc" +dependencies = [ + "libc", + "log", + "miow", + "ntapi", + "winapi", +] + +[[package]] +name = "mio" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba272f85fa0b41fc91872be579b3bbe0f56b792aa361a380eb669469f68dafb2" dependencies = [ "libc", "log", @@ -976,7 +989,7 @@ dependencies = [ "inotify", "kqueue", "libc", - "mio", + "mio 0.7.14", "walkdir", "winapi", ] @@ -1542,7 +1555,7 @@ dependencies = [ "futures", "libc", "log", - "mio", + "mio 0.8.0", "nix", "notify", "once_cell", @@ -1618,7 +1631,7 @@ dependencies = [ "log", "log4rs", "lru_time_cache", - "mio", + "mio 0.8.0", "native-tls", "nix", "once_cell", @@ -1858,7 +1871,7 @@ dependencies = [ "bytes", "libc", "memchr", - "mio", + "mio 0.7.14", "num_cpus", "once_cell", "parking_lot", diff --git a/crates/shadowsocks-service/Cargo.toml b/crates/shadowsocks-service/Cargo.toml index 485e91a..2ebea50 100644 --- a/crates/shadowsocks-service/Cargo.toml +++ b/crates/shadowsocks-service/Cargo.toml @@ -93,7 +93,7 @@ tokio-rustls = { version = "0.22", optional = true } webpki-roots = { version = "0.21", optional = true } rustls-native-certs = { version = "0.5", optional = true } async-trait = "0.1" -mio = { version = "0.7", optional = true } +mio = { version = "0.8", optional = true } socket2 = { version = "0.4", features = ["all"] } libc = "0.2" diff --git a/crates/shadowsocks/Cargo.toml b/crates/shadowsocks/Cargo.toml index 5792082..9718997 100644 --- a/crates/shadowsocks/Cargo.toml +++ b/crates/shadowsocks/Cargo.toml @@ -51,7 +51,7 @@ serde_json = "1.0" futures = "0.3" async-trait = "0.1" -mio = "0.7" +mio = "0.8" socket2 = { version = "0.4", features = ["all"] } tokio = { version = "1.9.0", features = ["io-util", "macros", "net", "parking_lot", "process", "rt", "sync", "time"] } tokio-io-timeout = "1.1"