diff options
author | Joel Galenson <jgalenson@google.com> | 2021-08-09 10:31:36 -0700 |
---|---|---|
committer | Joel Galenson <jgalenson@google.com> | 2021-08-09 10:31:36 -0700 |
commit | 3116f9fcd9ec6c91fc1df43522fdfe15a03cd250 (patch) | |
tree | 6ef65be3885d7e12273860d750b2c303b05f01d3 | |
parent | ecf5eadadd672de3fa2b7732a024c5f4f323dbaa (diff) | |
download | futures-sink-3116f9fcd9ec6c91fc1df43522fdfe15a03cd250.tar.gz |
Upgrade rust/crates/futures-sink to 0.3.16
Test: make
Change-Id: Ic0d70bcaa359e826928536b1f10986db70866a93
-rw-r--r-- | .cargo_vcs_info.json | 2 | ||||
-rw-r--r-- | Android.bp | 6 | ||||
-rw-r--r-- | Cargo.toml | 11 | ||||
-rw-r--r-- | Cargo.toml.orig | 2 | ||||
-rw-r--r-- | METADATA | 8 | ||||
-rw-r--r-- | src/lib.rs | 11 |
6 files changed, 22 insertions, 18 deletions
diff --git a/.cargo_vcs_info.json b/.cargo_vcs_info.json index ec6442e..99dc8b0 100644 --- a/.cargo_vcs_info.json +++ b/.cargo_vcs_info.json @@ -1,5 +1,5 @@ { "git": { - "sha1": "fc080d153bc7bf00429ec5e2b91e2f21f2243846" + "sha1": "ab38fd29d3f84f8fc028fa7883e53dba423da0ee" } } @@ -38,7 +38,7 @@ license { } rust_defaults { - name: "futures-sink_defaults", + name: "futures-sink_test_defaults", crate_name: "futures_sink", srcs: ["src/lib.rs"], test_suites: ["general-tests"], @@ -53,7 +53,7 @@ rust_defaults { rust_test_host { name: "futures-sink_host_test_src_lib", - defaults: ["futures-sink_defaults"], + defaults: ["futures-sink_test_defaults"], test_options: { unit_test: true, }, @@ -61,7 +61,7 @@ rust_test_host { rust_test { name: "futures-sink_device_test_src_lib", - defaults: ["futures-sink_defaults"], + defaults: ["futures-sink_test_defaults"], } rust_library { @@ -3,17 +3,16 @@ # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies -# to registry (e.g., crates.io) dependencies +# to registry (e.g., crates.io) dependencies. # -# If you believe there's an error in this file please file an -# issue against the rust-lang/cargo repository. If you're -# editing this file be aware that the upstream Cargo.toml -# will likely look very different (and much more reasonable) +# If you are reading this file be aware that the original Cargo.toml +# will likely look very different (and much more reasonable). +# See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "futures-sink" -version = "0.3.15" +version = "0.3.16" 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" diff --git a/Cargo.toml.orig b/Cargo.toml.orig index 02cb0d3..2144518 100644 --- a/Cargo.toml.orig +++ b/Cargo.toml.orig @@ -1,7 +1,7 @@ [package] name = "futures-sink" edition = "2018" -version = "0.3.15" +version = "0.3.16" authors = ["Alex Crichton <alex@alexcrichton.com>"] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" @@ -7,13 +7,13 @@ third_party { } url { type: ARCHIVE - value: "https://static.crates.io/crates/futures-sink/futures-sink-0.3.15.crate" + value: "https://static.crates.io/crates/futures-sink/futures-sink-0.3.16.crate" } - version: "0.3.15" + version: "0.3.16" license_type: NOTICE last_upgrade_date { year: 2021 - month: 5 - day: 19 + month: 8 + day: 9 } } @@ -4,11 +4,16 @@ //! asynchronously. #![cfg_attr(not(feature = "std"), no_std)] -#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms, unreachable_pub)] +#![warn(missing_debug_implementations, missing_docs, rust_2018_idioms, unreachable_pub)] // It cannot be included in the published code because this lints have false positives in the minimum required version. #![cfg_attr(test, warn(single_use_lifetimes))] -#![warn(clippy::all)] -#![doc(test(attr(deny(warnings), allow(dead_code, unused_assignments, unused_variables))))] +#![doc(test( + no_crate_inject, + attr( + deny(warnings, rust_2018_idioms, single_use_lifetimes), + allow(dead_code, unused_assignments, unused_variables) + ) +))] #[cfg(feature = "alloc")] extern crate alloc; |