aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2020-10-26 21:15:57 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-10-26 21:15:57 +0000
commitfefab40bcae2332246fd7906ee605999ace370d9 (patch)
tree1f88f7e0416450ac7c04768a427186d86ee33b67
parent96e1a7732133c9092fb3d989b2ce1e83b85e6049 (diff)
parent3e546ebb52c86569f50725278114a62d5c7a96b6 (diff)
downloadfutures-sink-fefab40bcae2332246fd7906ee605999ace370d9.tar.gz
Upgrade rust/crates/futures-sink to 0.3.7 am: a02aacd73c am: 3e546ebb52
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/futures-sink/+/1473796 Change-Id: I3c74e970b206490ea61cb453b98eba2da42005ed
-rw-r--r--Cargo.toml4
-rw-r--r--Cargo.toml.orig4
-rw-r--r--METADATA8
-rw-r--r--src/lib.rs7
4 files changed, 14 insertions, 9 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 58aef7c..4944486 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,11 +13,11 @@
[package]
edition = "2018"
name = "futures-sink"
-version = "0.3.5"
+version = "0.3.7"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
description = "The asynchronous `Sink` trait for the futures-rs library.\n"
homepage = "https://rust-lang.github.io/futures-rs"
-documentation = "https://docs.rs/futures-sink/0.3.5"
+documentation = "https://docs.rs/futures-sink/0.3.7"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/futures-rs"
[package.metadata.docs.rs]
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index 3fc7733..9b66b3a 100644
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -1,12 +1,12 @@
[package]
name = "futures-sink"
edition = "2018"
-version = "0.3.5"
+version = "0.3.7"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
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-sink/0.3.5"
+documentation = "https://docs.rs/futures-sink/0.3.7"
description = """
The asynchronous `Sink` trait for the futures-rs library.
"""
diff --git a/METADATA b/METADATA
index 3e797f3..f7357cf 100644
--- a/METADATA
+++ b/METADATA
@@ -7,13 +7,13 @@ third_party {
}
url {
type: ARCHIVE
- value: "https://static.crates.io/crates/futures-sink/futures-sink-0.3.5.crate"
+ value: "https://static.crates.io/crates/futures-sink/futures-sink-0.3.7.crate"
}
- version: "0.3.5"
+ version: "0.3.7"
license_type: NOTICE
last_upgrade_date {
year: 2020
- month: 5
- day: 8
+ month: 10
+ day: 25
}
}
diff --git a/src/lib.rs b/src/lib.rs
index 9308af4..8ee257e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -9,9 +9,14 @@
#![cfg_attr(test, warn(single_use_lifetimes))]
#![warn(clippy::all)]
+// mem::take requires Rust 1.40, matches! requires Rust 1.42
+// Can be removed if the minimum supported version increased or if https://github.com/rust-lang/rust-clippy/issues/3941
+// get's implemented.
+#![allow(clippy::mem_replace_with_default, clippy::match_like_matches_macro)]
+
#![doc(test(attr(deny(warnings), allow(dead_code, unused_assignments, unused_variables))))]
-#![doc(html_root_url = "https://docs.rs/futures-sink/0.3.5")]
+#![doc(html_root_url = "https://docs.rs/futures-sink/0.3.7")]
#[cfg(feature = "alloc")]
extern crate alloc;