mirror of https://github.com/smol-rs/async-net
Migrate to Rust 2021 (#27)
This commit is contained in:
parent
aabce50d34
commit
0664dd2e44
|
@ -5,7 +5,7 @@ name = "async-net"
|
|||
# - Create "v1.x.y" git tag
|
||||
version = "1.8.0"
|
||||
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
|
||||
edition = "2018"
|
||||
edition = "2021"
|
||||
rust-version = "1.63"
|
||||
description = "Async networking primitives for TCP/UDP/Unix communication"
|
||||
license = "Apache-2.0 OR MIT"
|
||||
|
|
|
@ -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};
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
use std::convert::TryFrom;
|
||||
use std::io;
|
||||
use std::net::{Ipv4Addr, Ipv6Addr, SocketAddr};
|
||||
#[cfg(unix)]
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue