diff options
author | Joel Galenson <jgalenson@google.com> | 2021-05-19 15:27:25 -0700 |
---|---|---|
committer | Joel Galenson <jgalenson@google.com> | 2021-05-19 15:27:25 -0700 |
commit | d09ec23259c8acb0bba074cc3cf72e806099bed4 (patch) | |
tree | 24035397ebd06316650dc53ec3ff6213e4ddd65b | |
parent | 6a34237310a3ab9dedc937e33cd8bd77a6a1d3c5 (diff) | |
download | futures-sink-d09ec23259c8acb0bba074cc3cf72e806099bed4.tar.gz |
Upgrade rust/crates/futures-sink to 0.3.15
Test: make
Change-Id: Ifc291fe86487a758de6ef2ac3ed0d1c2afdd9a9a
-rw-r--r-- | .cargo_vcs_info.json | 2 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | Cargo.toml.orig | 2 | ||||
-rw-r--r-- | METADATA | 8 | ||||
-rw-r--r-- | TEST_MAPPING | 128 | ||||
-rw-r--r-- | src/lib.rs | 15 |
6 files changed, 134 insertions, 23 deletions
diff --git a/.cargo_vcs_info.json b/.cargo_vcs_info.json index f3ad3ab..ec6442e 100644 --- a/.cargo_vcs_info.json +++ b/.cargo_vcs_info.json @@ -1,5 +1,5 @@ { "git": { - "sha1": "c91f8691672c7401b1923ab00bf138975c99391a" + "sha1": "fc080d153bc7bf00429ec5e2b91e2f21f2243846" } } @@ -13,7 +13,7 @@ [package] edition = "2018" name = "futures-sink" -version = "0.3.13" +version = "0.3.15" 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 59853a9..02cb0d3 100644 --- a/Cargo.toml.orig +++ b/Cargo.toml.orig @@ -1,7 +1,7 @@ [package] name = "futures-sink" edition = "2018" -version = "0.3.13" +version = "0.3.15" 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.13.crate" + value: "https://static.crates.io/crates/futures-sink/futures-sink-0.3.15.crate" } - version: "0.3.13" + version: "0.3.15" license_type: NOTICE last_upgrade_date { year: 2021 - month: 4 - day: 1 + month: 5 + day: 19 } } diff --git a/TEST_MAPPING b/TEST_MAPPING index a20d8a9..573abca 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -2,40 +2,49 @@ { "presubmit": [ { - "name": "anyhow_device_test_tests_test_context" + "name": "ZipFuseTest" }, { - "name": "tokio-test_device_test_tests_macros" + "name": "anyhow_device_test_src_lib" }, { - "name": "futures-sink_device_test_src_lib" + "name": "anyhow_device_test_tests_test_autotrait" }, { - "name": "anyhow_device_test_tests_test_convert" + "name": "anyhow_device_test_tests_test_boxed" }, { - "name": "tokio-test_device_test_tests_block_on" + "name": "anyhow_device_test_tests_test_chain" }, { - "name": "anyhow_device_test_tests_test_macros" + "name": "anyhow_device_test_tests_test_context" }, { - "name": "anyhow_device_test_src_lib" + "name": "anyhow_device_test_tests_test_convert" + }, + { + "name": "anyhow_device_test_tests_test_downcast" }, { "name": "anyhow_device_test_tests_test_ffi" }, { - "name": "anyhow_device_test_tests_test_downcast" + "name": "anyhow_device_test_tests_test_fmt" + }, + { + "name": "anyhow_device_test_tests_test_macros" + }, + { + "name": "anyhow_device_test_tests_test_repr" }, { "name": "anyhow_device_test_tests_test_source" }, { - "name": "anyhow_device_test_tests_test_autotrait" + "name": "authfs_device_test_src_lib" }, { - "name": "anyhow_device_test_tests_test_fmt" + "name": "futures-sink_device_test_src_lib" }, { "name": "futures-util_device_test_src_lib" @@ -44,16 +53,109 @@ "name": "tokio-test_device_test_src_lib" }, { - "name": "anyhow_device_test_tests_test_chain" + "name": "tokio-test_device_test_tests_block_on" }, { "name": "tokio-test_device_test_tests_io" }, { - "name": "anyhow_device_test_tests_test_repr" + "name": "tokio-test_device_test_tests_macros" }, { - "name": "anyhow_device_test_tests_test_boxed" + "name": "tokio_device_test_tests_buffered" + }, + { + "name": "tokio_device_test_tests_io_async_read" + }, + { + "name": "tokio_device_test_tests_io_copy_bidirectional" + }, + { + "name": "tokio_device_test_tests_io_lines" + }, + { + "name": "tokio_device_test_tests_io_mem_stream" + }, + { + "name": "tokio_device_test_tests_io_read" + }, + { + "name": "tokio_device_test_tests_io_read_buf" + }, + { + "name": "tokio_device_test_tests_io_read_to_end" + }, + { + "name": "tokio_device_test_tests_io_take" + }, + { + "name": "tokio_device_test_tests_io_write" + }, + { + "name": "tokio_device_test_tests_io_write_all" + }, + { + "name": "tokio_device_test_tests_io_write_buf" + }, + { + "name": "tokio_device_test_tests_io_write_int" + }, + { + "name": "tokio_device_test_tests_macros_join" + }, + { + "name": "tokio_device_test_tests_no_rt" + }, + { + "name": "tokio_device_test_tests_rt_basic" + }, + { + "name": "tokio_device_test_tests_rt_threaded" + }, + { + "name": "tokio_device_test_tests_sync_barrier" + }, + { + "name": "tokio_device_test_tests_sync_broadcast" + }, + { + "name": "tokio_device_test_tests_sync_errors" + }, + { + "name": "tokio_device_test_tests_sync_mpsc" + }, + { + "name": "tokio_device_test_tests_sync_mutex_owned" + }, + { + "name": "tokio_device_test_tests_sync_rwlock" + }, + { + "name": "tokio_device_test_tests_sync_watch" + }, + { + "name": "tokio_device_test_tests_task_local" + }, + { + "name": "tokio_device_test_tests_task_local_set" + }, + { + "name": "tokio_device_test_tests_tcp_accept" + }, + { + "name": "tokio_device_test_tests_tcp_echo" + }, + { + "name": "tokio_device_test_tests_tcp_into_std" + }, + { + "name": "tokio_device_test_tests_tcp_shutdown" + }, + { + "name": "tokio_device_test_tests_time_rt" + }, + { + "name": "tokio_device_test_tests_uds_split" } ] } @@ -207,7 +207,10 @@ mod if_alloc { impl<S: ?Sized + Sink<Item> + Unpin, Item> Sink<Item> for alloc::boxed::Box<S> { type Error = S::Error; - fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { + fn poll_ready( + mut self: Pin<&mut Self>, + cx: &mut Context<'_>, + ) -> Poll<Result<(), Self::Error>> { Pin::new(&mut **self).poll_ready(cx) } @@ -215,11 +218,17 @@ mod if_alloc { Pin::new(&mut **self).start_send(item) } - fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { + fn poll_flush( + mut self: Pin<&mut Self>, + cx: &mut Context<'_>, + ) -> Poll<Result<(), Self::Error>> { Pin::new(&mut **self).poll_flush(cx) } - fn poll_close(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>> { + fn poll_close( + mut self: Pin<&mut Self>, + cx: &mut Context<'_>, + ) -> Poll<Result<(), Self::Error>> { Pin::new(&mut **self).poll_close(cx) } } |