Migrate to Rust 2021 (#58)

This commit is contained in:
Taiki Endo 2023-10-08 14:56:48 +09:00 committed by GitHub
parent b29af2b72c
commit 9f9351bc52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -5,7 +5,7 @@ name = "async-process"
# - Create "v1.x.y" git tag
version = "1.8.1"
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
edition = "2018"
edition = "2021"
rust-version = "1.63"
description = "Async interface for working with processes"
license = "Apache-2.0 OR MIT"

View File

@ -67,8 +67,6 @@ use std::thread;
#[cfg(unix)]
use async_io::Async;
#[cfg(unix)]
use std::convert::{TryFrom, TryInto};
#[cfg(unix)]
use std::os::unix::io::{AsFd, AsRawFd, BorrowedFd, OwnedFd, RawFd};
#[cfg(windows)]