CI error fixes (#366)

Fixed identity conversion
Fixed clippy warning
Fixed tokio example compilation
mio upgrade
This commit is contained in:
Timon 2020-01-13 07:46:51 +01:00 committed by GitHub
parent 938c469b76
commit 9da9c1f5ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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 {