Bump to v2.0.0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 12678b7..ed018ac 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,7 @@
+# Version 2.0.0
+
+- Return `true` in `Task::run()`.
+
# Version 1.3.1
- Make `spawn_local` available only on unix and windows.
diff --git a/Cargo.toml b/Cargo.toml
index f9e8c5f..e9136d3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "async-task"
-version = "1.3.1"
+version = "2.0.0"
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
edition = "2018"
license = "Apache-2.0/MIT"
@@ -13,14 +13,13 @@
readme = "README.md"
[target.'cfg(unix)'.dependencies]
-libc = "0.2.66"
+libc = "0.2.68"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.8", features = ["processthreadsapi"] }
[dev-dependencies]
crossbeam = "0.7.3"
-crossbeam-utils = "0.7.0"
-futures = "0.3.1"
+crossbeam-utils = "0.7.2"
+futures = "0.3.4"
lazy_static = "1.4.0"
-pin-utils = "0.1.0-alpha.4"
diff --git a/benches/waker_fn.rs b/benches/waker_fn.rs
index 90d99f9..1de1b97 100644
--- a/benches/waker_fn.rs
+++ b/benches/waker_fn.rs
@@ -13,7 +13,7 @@
/// Runs a future to completion on the current thread.
fn block_on<F: Future>(future: F) -> F::Output {
// Pin the future on the stack.
- pin_utils::pin_mut!(future);
+ futures::pin_mut!(future);
thread_local! {
// Parker and waker associated with the current thread.
diff --git a/examples/block.rs b/examples/block.rs
index e4124b2..dea10be 100644
--- a/examples/block.rs
+++ b/examples/block.rs
@@ -12,7 +12,7 @@
/// Runs a future to completion on the current thread.
fn block_on<F: Future>(future: F) -> F::Output {
// Pin the future on the stack.
- pin_utils::pin_mut!(future);
+ futures::pin_mut!(future);
thread_local! {
// Parker and waker associated with the current thread.