From 7c59786f103337e53ff8dee66764d23d7a78da3a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 19:02:20 +0000 Subject: [PATCH] build(deps): bump indexmap from 2.1.0 to 2.2.2 (#35125) * build(deps): bump indexmap from 2.1.0 to 2.2.2 Bumps [indexmap](https://github.com/indexmap-rs/indexmap) from 2.1.0 to 2.2.2. - [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md) - [Commits](https://github.com/indexmap-rs/indexmap/compare/2.1.0...2.2.2) --- updated-dependencies: - dependency-name: indexmap dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * [auto-commit] Update all Cargo lock files * call swap_remove_entry directly --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dependabot-buildkite Co-authored-by: yihau --- Cargo.lock | 26 +++++++++++++------------- Cargo.toml | 2 +- programs/sbf/Cargo.lock | 22 +++++++++++----------- streamer/src/nonblocking/quic.rs | 2 +- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b762b0dc7e..7f944969a6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2298,7 +2298,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.1.0", + "indexmap 2.2.2", "slab", "tokio", "tokio-util 0.7.1", @@ -2674,9 +2674,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.1.0" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +checksum = "824b2ae422412366ba479e8111fd301f7b5faece8149317bb81925979a53f520" dependencies = [ "equivalent", "hashbrown 0.14.3", @@ -4931,7 +4931,7 @@ version = "0.9.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1bf28c79a99f70ee1f1d83d10c875d2e70618417fda01ad1785e027579d9d38" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.2", "itoa", "ryu", "serde", @@ -5275,7 +5275,7 @@ dependencies = [ "fnv", "im", "index_list", - "indexmap 2.1.0", + "indexmap 2.2.2", "itertools", "lazy_static", "libsecp256k1", @@ -5755,7 +5755,7 @@ dependencies = [ "dashmap", "futures 0.3.30", "futures-util", - "indexmap 2.1.0", + "indexmap 2.2.2", "indicatif", "log", "quinn", @@ -5836,7 +5836,7 @@ dependencies = [ "bincode", "crossbeam-channel", "futures-util", - "indexmap 2.1.0", + "indexmap 2.2.2", "indicatif", "log", "rand 0.8.5", @@ -6175,7 +6175,7 @@ dependencies = [ "clap 2.33.3", "crossbeam-channel", "flate2", - "indexmap 2.1.0", + "indexmap 2.2.2", "itertools", "log", "lru", @@ -7267,7 +7267,7 @@ dependencies = [ "crossbeam-channel", "futures-util", "histogram", - "indexmap 2.1.0", + "indexmap 2.2.2", "itertools", "libc", "log", @@ -7378,7 +7378,7 @@ dependencies = [ "console", "csv", "ctrlc", - "indexmap 2.1.0", + "indexmap 2.2.2", "indicatif", "pickledb", "serde", @@ -7407,7 +7407,7 @@ dependencies = [ "async-trait", "bincode", "futures-util", - "indexmap 2.1.0", + "indexmap 2.2.2", "indicatif", "log", "rayon", @@ -8618,7 +8618,7 @@ version = "0.20.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.2", "toml_datetime", "winnow", ] @@ -8629,7 +8629,7 @@ version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.2", "serde", "serde_spanned", "toml_datetime", diff --git a/Cargo.toml b/Cargo.toml index d0bc79a53f..e522d8bb48 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -222,7 +222,7 @@ hyper = "0.14.28" hyper-proxy = "0.9.1" im = "15.1.0" index_list = "0.2.11" -indexmap = "2.1.0" +indexmap = "2.2.2" indicatif = "0.17.7" itertools = "0.10.5" jemallocator = { package = "tikv-jemallocator", version = "0.4.1", features = [ diff --git a/programs/sbf/Cargo.lock b/programs/sbf/Cargo.lock index 2c80edb306..110c353b67 100644 --- a/programs/sbf/Cargo.lock +++ b/programs/sbf/Cargo.lock @@ -1936,7 +1936,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.1.0", + "indexmap 2.2.2", "slab", "tokio", "tokio-util 0.7.1", @@ -2287,9 +2287,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.1.0" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +checksum = "824b2ae422412366ba479e8111fd301f7b5faece8149317bb81925979a53f520" dependencies = [ "equivalent", "hashbrown 0.14.1", @@ -4348,7 +4348,7 @@ version = "0.9.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1bf28c79a99f70ee1f1d83d10c875d2e70618417fda01ad1785e027579d9d38" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.2", "itoa", "ryu", "serde", @@ -4619,7 +4619,7 @@ dependencies = [ "fnv", "im", "index_list", - "indexmap 2.1.0", + "indexmap 2.2.2", "itertools", "lazy_static", "log", @@ -4846,7 +4846,7 @@ dependencies = [ "dashmap", "futures 0.3.30", "futures-util", - "indexmap 2.1.0", + "indexmap 2.2.2", "indicatif", "log", "quinn", @@ -4896,7 +4896,7 @@ dependencies = [ "bincode", "crossbeam-channel", "futures-util", - "indexmap 2.1.0", + "indexmap 2.2.2", "log", "rand 0.8.5", "rayon", @@ -5147,7 +5147,7 @@ dependencies = [ "clap 2.33.3", "crossbeam-channel", "flate2", - "indexmap 2.1.0", + "indexmap 2.2.2", "itertools", "log", "lru", @@ -6310,7 +6310,7 @@ dependencies = [ "crossbeam-channel", "futures-util", "histogram", - "indexmap 2.1.0", + "indexmap 2.2.2", "itertools", "libc", "log", @@ -6412,7 +6412,7 @@ dependencies = [ "async-trait", "bincode", "futures-util", - "indexmap 2.1.0", + "indexmap 2.2.2", "indicatif", "log", "rayon", @@ -7468,7 +7468,7 @@ version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.2", "toml_datetime", "winnow", ] diff --git a/streamer/src/nonblocking/quic.rs b/streamer/src/nonblocking/quic.rs index f6f2357c77..225412dd08 100644 --- a/streamer/src/nonblocking/quic.rs +++ b/streamer/src/nonblocking/quic.rs @@ -1126,7 +1126,7 @@ impl ConnectionTable { }); let new_size = e_ref.len(); if e_ref.is_empty() { - e.remove_entry(); + e.swap_remove_entry(); } let connections_removed = old_size.saturating_sub(new_size); self.total_size = self.total_size.saturating_sub(connections_removed);