diff --git a/Cargo.toml b/Cargo.toml index 134a804..5e2290c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ name = "async-net" # - Create "v1.x.y" git tag version = "1.8.0" authors = ["Stjepan Glavina "] -edition = "2018" +edition = "2021" rust-version = "1.63" description = "Async networking primitives for TCP/UDP/Unix communication" license = "Apache-2.0 OR MIT" diff --git a/src/tcp.rs b/src/tcp.rs index 0b9e267..81ba45e 100644 --- a/src/tcp.rs +++ b/src/tcp.rs @@ -1,4 +1,3 @@ -use std::convert::TryFrom; use std::fmt; use std::io::{self, IoSlice, Read as _, Write as _}; use std::net::{Shutdown, SocketAddr}; diff --git a/src/udp.rs b/src/udp.rs index 4f3106c..613fba4 100644 --- a/src/udp.rs +++ b/src/udp.rs @@ -1,4 +1,3 @@ -use std::convert::TryFrom; use std::io; use std::net::{Ipv4Addr, Ipv6Addr, SocketAddr}; #[cfg(unix)] diff --git a/src/unix.rs b/src/unix.rs index 8e71114..d450937 100644 --- a/src/unix.rs +++ b/src/unix.rs @@ -2,7 +2,6 @@ //! //! This module is an async version of [`std::os::unix::net`]. -use std::convert::TryFrom; use std::fmt; use std::io::{self, Read as _, Write as _}; use std::net::Shutdown;