diff --git a/Cargo.toml b/Cargo.toml index c1196b28..de168ed6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -82,9 +82,9 @@ rustix = { version = "0.38.34", default-features = false, features = [ ] } signal-hook = { version = "0.3.17", optional = true } filedescriptor = { version = "0.8", optional = true } -mio = { version = "0.8", features = ["os-poll"], optional = true } -signal-hook-mio = { version = "0.2.3", features = [ - "support-v0_8", +mio = { version = "1.0", features = ["os-poll"], optional = true } +signal-hook-mio = { version = "0.2.4", features = [ + "support-v1_0", ], optional = true } # diff --git a/src/event/source/unix/mio.rs b/src/event/source/unix/mio.rs index 0368e61b..6d19e0c5 100644 --- a/src/event/source/unix/mio.rs +++ b/src/event/source/unix/mio.rs @@ -1,7 +1,7 @@ use std::{collections::VecDeque, io, time::Duration}; use mio::{unix::SourceFd, Events, Interest, Poll, Token}; -use signal_hook_mio::v0_8::Signals; +use signal_hook_mio::v1_0::Signals; #[cfg(feature = "event-stream")] use crate::event::sys::Waker;