From 0030800b9afda04fd0a1ea0511183415b4780900 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Thu, 20 Jun 2024 01:22:33 +0100 Subject: [PATCH] chore: update mio dependency to v1 (#577) --- actix-server/Cargo.toml | 2 +- actix-server/src/socket.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/actix-server/Cargo.toml b/actix-server/Cargo.toml index f0658542..931987cf 100644 --- a/actix-server/Cargo.toml +++ b/actix-server/Cargo.toml @@ -31,7 +31,7 @@ actix-utils = "3" futures-core = { version = "0.3.17", default-features = false, features = ["alloc"] } futures-util = { version = "0.3.17", default-features = false, features = ["alloc"] } -mio = { version = "0.8", features = ["os-poll", "net"] } +mio = { version = "1", features = ["os-poll", "net"] } socket2 = "0.5" tokio = { version = "1.23.1", features = ["sync"] } tracing = { version = "0.1.30", default-features = false, features = ["log"] } diff --git a/actix-server/src/socket.rs b/actix-server/src/socket.rs index 486c0d46..a39e4c49 100644 --- a/actix-server/src/socket.rs +++ b/actix-server/src/socket.rs @@ -126,7 +126,7 @@ pub(crate) enum SocketAddr { Unknown, Tcp(StdSocketAddr), #[cfg(unix)] - Uds(mio::net::SocketAddr), + Uds(std::os::unix::net::SocketAddr), } impl fmt::Display for SocketAddr {