Migrate to Rust 2021 (#58)
This commit is contained in:
parent
b29af2b72c
commit
9f9351bc52
|
@ -5,7 +5,7 @@ name = "async-process"
|
||||||
# - Create "v1.x.y" git tag
|
# - Create "v1.x.y" git tag
|
||||||
version = "1.8.1"
|
version = "1.8.1"
|
||||||
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
|
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
rust-version = "1.63"
|
rust-version = "1.63"
|
||||||
description = "Async interface for working with processes"
|
description = "Async interface for working with processes"
|
||||||
license = "Apache-2.0 OR MIT"
|
license = "Apache-2.0 OR MIT"
|
||||||
|
|
|
@ -67,8 +67,6 @@ use std::thread;
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
use async_io::Async;
|
use async_io::Async;
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
use std::convert::{TryFrom, TryInto};
|
|
||||||
#[cfg(unix)]
|
|
||||||
use std::os::unix::io::{AsFd, AsRawFd, BorrowedFd, OwnedFd, RawFd};
|
use std::os::unix::io::{AsFd, AsRawFd, BorrowedFd, OwnedFd, RawFd};
|
||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
|
|
Loading…
Reference in New Issue