Upgrade rust/crates/futures-executor to 0.3.5
Test: None
Change-Id: Ieb01a3fd3dc0362b5032187a32cd9813be227799
diff --git a/Cargo.toml b/Cargo.toml
index 3235b3d..fcd877c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,25 +13,25 @@
[package]
edition = "2018"
name = "futures-executor"
-version = "0.3.4"
+version = "0.3.5"
authors = ["Alex Crichton <[email protected]>"]
description = "Executors for asynchronous tasks based on the futures-rs library.\n"
homepage = "https://rust-lang.github.io/futures-rs"
-documentation = "https://docs.rs/futures-executor/0.3.0"
+documentation = "https://docs.rs/futures-executor/0.3.5"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/futures-rs"
[package.metadata.docs.rs]
all-features = true
[dependencies.futures-core]
-version = "0.3.4"
+version = "0.3.5"
default-features = false
[dependencies.futures-task]
-version = "0.3.4"
+version = "0.3.5"
default-features = false
[dependencies.futures-util]
-version = "0.3.4"
+version = "0.3.5"
default-features = false
[dependencies.num_cpus]
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index 9218972..ad6aa34 100644
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -1,12 +1,12 @@
[package]
name = "futures-executor"
edition = "2018"
-version = "0.3.4"
+version = "0.3.5"
authors = ["Alex Crichton <[email protected]>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/futures-rs"
homepage = "https://rust-lang.github.io/futures-rs"
-documentation = "https://docs.rs/futures-executor/0.3.0"
+documentation = "https://docs.rs/futures-executor/0.3.5"
description = """
Executors for asynchronous tasks based on the futures-rs library.
"""
@@ -17,9 +17,9 @@
thread-pool = ["std", "num_cpus"]
[dependencies]
-futures-core = { path = "../futures-core", version = "0.3.4", default-features = false }
-futures-task = { path = "../futures-task", version = "0.3.4", default-features = false }
-futures-util = { path = "../futures-util", version = "0.3.4", default-features = false }
+futures-core = { path = "../futures-core", version = "0.3.5", default-features = false }
+futures-task = { path = "../futures-task", version = "0.3.5", default-features = false }
+futures-util = { path = "../futures-util", version = "0.3.5", default-features = false }
num_cpus = { version = "1.8.0", optional = true }
[package.metadata.docs.rs]
diff --git a/METADATA b/METADATA
index 76d12b2..6eab147 100644
--- a/METADATA
+++ b/METADATA
@@ -1,7 +1,5 @@
name: "futures-executor"
-description:
- "Executors for asynchronous tasks based on the futures-rs library."
-
+description: "Executors for asynchronous tasks based on the futures-rs library."
third_party {
url {
type: HOMEPAGE
@@ -11,7 +9,11 @@
type: GIT
value: "https://github.com/rust-lang/futures-rs"
}
- version: "0.3.4"
- last_upgrade_date { year: 2020 month: 3 day: 17 }
+ version: "0.3.5"
license_type: NOTICE
+ last_upgrade_date {
+ year: 2020
+ month: 5
+ day: 8
+ }
}
diff --git a/src/lib.rs b/src/lib.rs
index f267876..8be8b0f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -12,7 +12,7 @@
#![doc(test(attr(deny(warnings), allow(dead_code, unused_assignments, unused_variables))))]
-#![doc(html_root_url = "https://docs.rs/futures-executor/0.3.0")]
+#![doc(html_root_url = "https://docs.rs/futures-executor/0.3.5")]
#[cfg(feature = "std")]
mod local_pool;
diff --git a/src/thread_pool.rs b/src/thread_pool.rs
index 6a87bc5..78a225f 100644
--- a/src/thread_pool.rs
+++ b/src/thread_pool.rs
@@ -210,7 +210,7 @@
self
}
- /// Set stack size of threads in the pool.
+ /// Set stack size of threads in the pool, in bytes.
///
/// By default, worker threads use Rust's standard stack size.
pub fn stack_size(&mut self, stack_size: usize) -> &mut Self {
diff --git a/src/unpark_mutex.rs b/src/unpark_mutex.rs
index 3497faa..1f69aed 100644
--- a/src/unpark_mutex.rs
+++ b/src/unpark_mutex.rs
@@ -108,7 +108,7 @@
self.status.store(POLLING, SeqCst);
}
- /// Alert the mutex that polling completed with NotReady.
+ /// Alert the mutex that polling completed with `Pending`.
///
/// # Safety
///