From 653030d34543df5409212dc3ef2ae0e74f05bc8d Mon Sep 17 00:00:00 2001 From: Hans Larsen Date: Wed, 21 Apr 2021 09:31:05 -0700 Subject: [PATCH] chore: release 0.2.1 with support for rustc 1.47 --- Cargo.toml | 2 +- rust-toolchain | 2 +- src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 74668ce..4f5c4a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "garcon" -version = "0.2.0" +version = "0.2.1" authors = ["Hans Larsen "] edition = "2018" description = "A collection of trait and classes to make your thread or async function wait." diff --git a/rust-toolchain b/rust-toolchain index 5a5c721..21998d3 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -1.50.0 +1.47.0 diff --git a/src/lib.rs b/src/lib.rs index 46f97b8..fda8600 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -59,7 +59,7 @@ pub trait Waiter: WaiterClone + Send + Sync { /// to be non-blocking. #[cfg(feature = "async")] fn async_wait(&mut self) -> Pin> + Send>> { - Box::pin(future::ready(self.wait())) + Box::pin(futures_util::future::ready(self.wait())) } }