diff --git a/Cargo.toml b/Cargo.toml index b07d56a..fc4fe14 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,15 +53,15 @@ crossterm_winapi = "0.5.1" # UNIX dependencies # [target.'cfg(unix)'.dependencies] -libc = "0.2.51" -mio = "0.6.19" +libc = "0.2" +mio = "0.6.21" signal-hook = { version = "0.1.12", features = ["mio-support"] } # # Dev dependencies (examples, ...) # [dev-dependencies] -tokio = { version = "0.2.1", features = ["macros"] } +tokio = { version = "0.2.9", features = ["full"] } futures = "0.3" futures-timer = "2" async-std = "1" diff --git a/src/terminal/sys/unix.rs b/src/terminal/sys/unix.rs index 8419b11..f162298 100644 --- a/src/terminal/sys/unix.rs +++ b/src/terminal/sys/unix.rs @@ -24,7 +24,7 @@ pub(crate) fn exit() { ::std::process::exit(0); } -#[allow(identity_conversion)] +#[allow(clippy::identity_conversion)] pub(crate) fn size() -> Result<(u16, u16)> { // http://rosettacode.org/wiki/Terminal_control/Dimensions#Library:_BSD_libc let mut size = winsize {