Skip to content

Commit

Permalink
Migrate to Rust 2021 (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e authored Oct 8, 2023
1 parent aabce50 commit 0664dd2
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "async-net"
# - Create "v1.x.y" git tag
version = "1.8.0"
authors = ["Stjepan Glavina <[email protected]>"]
edition = "2018"
edition = "2021"
rust-version = "1.63"
description = "Async networking primitives for TCP/UDP/Unix communication"
license = "Apache-2.0 OR MIT"
Expand Down
1 change: 0 additions & 1 deletion src/tcp.rs
Original file line number Diff line number Diff line change
@@ -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};
Expand Down
1 change: 0 additions & 1 deletion src/udp.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use std::convert::TryFrom;
use std::io;
use std::net::{Ipv4Addr, Ipv6Addr, SocketAddr};
#[cfg(unix)]
Expand Down
1 change: 0 additions & 1 deletion src/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0664dd2

Please sign in to comment.