Update lots of deps
This commit is contained in:
@ -9,12 +9,12 @@ embassy = { version = "0.1.0", path = "../../embassy", features = ["log", "std",
|
||||
embassy-net = { version = "0.1.0", path = "../../embassy-net", features=["std", "log", "medium-ethernet", "tcp", "dhcpv4"] }
|
||||
smoltcp = { git = "https://github.com/smoltcp-rs/smoltcp", rev="e4241510337e095b9d21136c5f58b2eaa1b78479", default-features = false }
|
||||
|
||||
async-io = "1.3.1"
|
||||
env_logger = "0.8.2"
|
||||
futures = { version = "0.3.8", default-features = false, features = ["async-await"] }
|
||||
log = "0.4.11"
|
||||
nix = "0.21.0"
|
||||
libc = "0.2.81"
|
||||
clap = { version = "3.0.0-beta.2", features = ["derive"] }
|
||||
rand_core = { version = "0.6.0", features = ["std"] }
|
||||
heapless = { version = "0.7.1", default-features = false }
|
||||
async-io = "1.6.0"
|
||||
env_logger = "0.9.0"
|
||||
futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
|
||||
log = "0.4.14"
|
||||
nix = "0.22.1"
|
||||
libc = "0.2.101"
|
||||
clap = { version = "3.0.0-beta.4", features = ["derive"] }
|
||||
rand_core = { version = "0.6.3", features = ["std"] }
|
||||
heapless = { version = "0.7.5", default-features = false }
|
||||
|
@ -1,6 +1,6 @@
|
||||
use nix::errno::Errno;
|
||||
use nix::fcntl::OFlag;
|
||||
use nix::sys::termios;
|
||||
use nix::Error;
|
||||
use std::io;
|
||||
use std::os::unix::io::{AsRawFd, RawFd};
|
||||
|
||||
@ -63,9 +63,6 @@ impl io::Write for SerialPort {
|
||||
}
|
||||
}
|
||||
|
||||
fn to_io_error(e: Error) -> io::Error {
|
||||
match e {
|
||||
Error::Sys(errno) => errno.into(),
|
||||
e => io::Error::new(io::ErrorKind::InvalidInput, e),
|
||||
}
|
||||
fn to_io_error(e: Errno) -> io::Error {
|
||||
e.into()
|
||||
}
|
||||
|
Reference in New Issue
Block a user