aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2020-10-26 22:06:44 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-10-26 22:06:44 +0000
commit31afafb052a7a69e76d4fa095107f39bbb8d9981 (patch)
tree1f88f7e0416450ac7c04768a427186d86ee33b67
parent8556a7b0590ab1a7bcd204d876a361a83ff9a3ba (diff)
parent029f26fb25e86f22a37c9652332c6403b2faf8de (diff)
downloadfutures-sink-31afafb052a7a69e76d4fa095107f39bbb8d9981.tar.gz
Upgrade rust/crates/futures-sink to 0.3.7 am: a02aacd73c am: 3e546ebb52 am: fefab40bca am: 029f26fb25
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/futures-sink/+/1473796 Change-Id: I343ebf0f4a6678101795dab5d5416b852c173388
-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;