Update to signal-hook-mio 0.8 (#645)
This commit is contained in:
parent
0cb34f1df2
commit
c90f3190df
@ -55,9 +55,9 @@ crossterm_winapi = "0.9"
|
|||||||
#
|
#
|
||||||
[target.'cfg(unix)'.dependencies]
|
[target.'cfg(unix)'.dependencies]
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
mio = { version="0.7", features=["os-poll"] }
|
mio = { version = "0.8", features = ["os-poll"] }
|
||||||
signal-hook = { version = "0.3.13" }
|
signal-hook = { version = "0.3.13" }
|
||||||
signal-hook-mio = { version = "0.2.1", features = ["support-v0_7"] }
|
signal-hook-mio = { version = "0.2.3", features = ["support-v0_8"] }
|
||||||
|
|
||||||
#
|
#
|
||||||
# Dev dependencies (examples, ...)
|
# Dev dependencies (examples, ...)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
use std::{collections::VecDeque, io, time::Duration};
|
use std::{collections::VecDeque, io, time::Duration};
|
||||||
|
|
||||||
use mio::{unix::SourceFd, Events, Interest, Poll, Token};
|
use mio::{unix::SourceFd, Events, Interest, Poll, Token};
|
||||||
use signal_hook_mio::v0_7::Signals;
|
use signal_hook_mio::v0_8::Signals;
|
||||||
|
|
||||||
use crate::Result;
|
use crate::Result;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user