From 999c1698cf96b16c55dcec68a17c6d8b7758872a Mon Sep 17 00:00:00 2001 From: Thomas Orozco Date: Tue, 4 Apr 2023 10:14:43 -0700 Subject: [PATCH] (reland) rust/third-party: update to futures 0.3.28 Summary: Note: this is a re-land of D44623815, which was was reverted because of a land race with D44626072 In particular this fixes `FlattenUnordered` having a nasty deadlock, but also some other bugs: ``` # 0.3.28 - 2023-03-30 * Update to syn 2. This raises MSRV of utility crates to 1.56. (#2730, #2733) * Fix bug in `FlattenUnordered` (#2726, #2728) # 0.3.27 - 2023-03-11 * Add `TryFlattenUnordered` (#2577, #2590, #2606, #2607) * Add `AbortHandle::is_aborted` (#2710) * Add `AbortRegistration::handle` (#2712) * Make `BiLock` strict-provenance compatible (#2716) # 0.3.26 - 2023-01-30 * Add `Either::as_pin_mut` and `Either::as_pin_ref` (#2691) * Add `Shared::ptr_eq` and `Shared::ptr_hash` (#2691) * Implement `FusedStream` for `Buffered` (#2676) * Implement `FusedStream` for all streams in `ReadyChunks` (#2693) * Fix bug in `FuturesOrdered::push_front` (#2664) * Remove `Fut::Output: Clone` bounds from some `Shared` methods (#2662) * Remove `T: Debug` bounds from `Debug` implementations of `mpsc` and `oneshot` types (#2666, #2667) # 0.3.25 - 2022-10-20 * Fix soundness issue in `join!` and `try_join!` macros (#2649) * Implement `Clone` for `sink::Drain` (#2650) # 0.3.24 - 2022-08-29 * Fix incorrect termination of `select_with_strategy` streams (#2635) # 0.3.23 - 2022-08-14 * Work around MSRV increase due to a cargo bug. ``` Reviewed By: zertosh Differential Revision: D44632588 fbshipit-source-id: bdd87cb02b3aef63a65b1f9b852579225adfedbd --- reverie-process/Cargo.toml | 2 +- reverie-ptrace/Cargo.toml | 2 +- safeptrace/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reverie-process/Cargo.toml b/reverie-process/Cargo.toml index 187fd46..d775283 100644 --- a/reverie-process/Cargo.toml +++ b/reverie-process/Cargo.toml @@ -11,7 +11,7 @@ license = "BSD-2-Clause" bincode = "1.3.3" bitflags = "1.3" colored = "1.9" -futures = { version = "0.3.22", features = ["async-await", "compat"] } +futures = { version = "0.3.28", features = ["async-await", "compat"] } libc = "0.2.139" nix = "0.25" serde = { version = "1.0.136", features = ["derive", "rc"] } diff --git a/reverie-ptrace/Cargo.toml b/reverie-ptrace/Cargo.toml index cffad59..6ca99d7 100644 --- a/reverie-ptrace/Cargo.toml +++ b/reverie-ptrace/Cargo.toml @@ -12,7 +12,7 @@ anyhow = "1.0.65" async-trait = "0.1.58" bincode = "1.3.3" bytes = { version = "1.1", features = ["serde"] } -futures = { version = "0.3.22", features = ["async-await", "compat"] } +futures = { version = "0.3.28", features = ["async-await", "compat"] } goblin = "0.5.2" iced-x86 = "1.17.0" lazy_static = "1.4" diff --git a/safeptrace/Cargo.toml b/safeptrace/Cargo.toml index e134c85..0d7a571 100644 --- a/safeptrace/Cargo.toml +++ b/safeptrace/Cargo.toml @@ -9,7 +9,7 @@ license = "BSD-2-Clause" [dependencies] bitflags = "1.3" -futures = { version = "0.3.22", features = ["async-await", "compat"] } +futures = { version = "0.3.28", features = ["async-await", "compat"] } lazy_static = "1.4" libc = "0.2.139" nix = "0.25"