Update futures-lite

This commit is contained in:
Stjepan Glavina 2020-10-09 14:37:51 +02:00
parent 3965add776
commit 974c3cc080
4 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@ readme = "README.md"
[dependencies]
cfg-if = "0.1.10"
event-listener = "2.4.0"
futures-lite = "1.2.0"
futures-lite = "1.11.0"
once_cell = "1.4.1"
[target.'cfg(unix)'.dependencies]

View File

@ -41,7 +41,7 @@ Read the output line-by-line as it gets produced:
```rust
use async_process::{Command, Stdio};
use futures_lite::{AsyncBufReadExt, StreamExt, io::BufReader};
use futures_lite::{io::BufReader, prelude::*};
let mut child = Command::new("find")
.arg(".")

View File

@ -33,7 +33,7 @@
//! ```no_run
//! # futures_lite::future::block_on(async {
//! use async_process::{Command, Stdio};
//! use futures_lite::{AsyncBufReadExt, StreamExt, io::BufReader};
//! use futures_lite::{io::BufReader, prelude::*};
//!
//! let mut child = Command::new("find")
//! .arg(".")
@ -52,7 +52,6 @@
use std::ffi::OsStr;
use std::fmt;
use std::future::Future;
use std::path::Path;
use std::pin::Pin;
use std::sync::{Arc, Mutex};
@ -64,7 +63,7 @@ use async_io::Async;
#[cfg(windows)]
use blocking::Unblock;
use event_listener::Event;
use futures_lite::{future, io, AsyncReadExt};
use futures_lite::{future, io, prelude::*};
use once_cell::sync::Lazy;
#[doc(no_inline)]

View File

@ -1,10 +1,11 @@
//! These tests are borrowed from the `std::process` test suite.
use std::env;
use std::io;
use std::str;
use async_process::{Command, Output, Stdio};
use futures_lite::*;
use futures_lite::{future, prelude::*};
#[test]
fn smoke() {