CI error fixes (#366)
Fixed identity conversion Fixed clippy warning Fixed tokio example compilation mio upgrade
This commit is contained in:
parent
938c469b76
commit
9da9c1f5ad
@ -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"
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user