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] <support@github.com>

* [auto-commit] Update all Cargo lock files

* call swap_remove_entry directly

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Co-authored-by: yihau <yihau.chen@icloud.com>
This commit is contained in:
dependabot[bot] 2024-02-07 19:02:20 +00:00 committed by GitHub
parent 2c0001b530
commit 7c59786f10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 26 additions and 26 deletions

26
Cargo.lock generated
View File

@ -2298,7 +2298,7 @@ dependencies = [
"futures-sink", "futures-sink",
"futures-util", "futures-util",
"http", "http",
"indexmap 2.1.0", "indexmap 2.2.2",
"slab", "slab",
"tokio", "tokio",
"tokio-util 0.7.1", "tokio-util 0.7.1",
@ -2674,9 +2674,9 @@ dependencies = [
[[package]] [[package]]
name = "indexmap" name = "indexmap"
version = "2.1.0" version = "2.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" checksum = "824b2ae422412366ba479e8111fd301f7b5faece8149317bb81925979a53f520"
dependencies = [ dependencies = [
"equivalent", "equivalent",
"hashbrown 0.14.3", "hashbrown 0.14.3",
@ -4931,7 +4931,7 @@ version = "0.9.30"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1bf28c79a99f70ee1f1d83d10c875d2e70618417fda01ad1785e027579d9d38" checksum = "b1bf28c79a99f70ee1f1d83d10c875d2e70618417fda01ad1785e027579d9d38"
dependencies = [ dependencies = [
"indexmap 2.1.0", "indexmap 2.2.2",
"itoa", "itoa",
"ryu", "ryu",
"serde", "serde",
@ -5275,7 +5275,7 @@ dependencies = [
"fnv", "fnv",
"im", "im",
"index_list", "index_list",
"indexmap 2.1.0", "indexmap 2.2.2",
"itertools", "itertools",
"lazy_static", "lazy_static",
"libsecp256k1", "libsecp256k1",
@ -5755,7 +5755,7 @@ dependencies = [
"dashmap", "dashmap",
"futures 0.3.30", "futures 0.3.30",
"futures-util", "futures-util",
"indexmap 2.1.0", "indexmap 2.2.2",
"indicatif", "indicatif",
"log", "log",
"quinn", "quinn",
@ -5836,7 +5836,7 @@ dependencies = [
"bincode", "bincode",
"crossbeam-channel", "crossbeam-channel",
"futures-util", "futures-util",
"indexmap 2.1.0", "indexmap 2.2.2",
"indicatif", "indicatif",
"log", "log",
"rand 0.8.5", "rand 0.8.5",
@ -6175,7 +6175,7 @@ dependencies = [
"clap 2.33.3", "clap 2.33.3",
"crossbeam-channel", "crossbeam-channel",
"flate2", "flate2",
"indexmap 2.1.0", "indexmap 2.2.2",
"itertools", "itertools",
"log", "log",
"lru", "lru",
@ -7267,7 +7267,7 @@ dependencies = [
"crossbeam-channel", "crossbeam-channel",
"futures-util", "futures-util",
"histogram", "histogram",
"indexmap 2.1.0", "indexmap 2.2.2",
"itertools", "itertools",
"libc", "libc",
"log", "log",
@ -7378,7 +7378,7 @@ dependencies = [
"console", "console",
"csv", "csv",
"ctrlc", "ctrlc",
"indexmap 2.1.0", "indexmap 2.2.2",
"indicatif", "indicatif",
"pickledb", "pickledb",
"serde", "serde",
@ -7407,7 +7407,7 @@ dependencies = [
"async-trait", "async-trait",
"bincode", "bincode",
"futures-util", "futures-util",
"indexmap 2.1.0", "indexmap 2.2.2",
"indicatif", "indicatif",
"log", "log",
"rayon", "rayon",
@ -8618,7 +8618,7 @@ version = "0.20.7"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81"
dependencies = [ dependencies = [
"indexmap 2.1.0", "indexmap 2.2.2",
"toml_datetime", "toml_datetime",
"winnow", "winnow",
] ]
@ -8629,7 +8629,7 @@ version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03"
dependencies = [ dependencies = [
"indexmap 2.1.0", "indexmap 2.2.2",
"serde", "serde",
"serde_spanned", "serde_spanned",
"toml_datetime", "toml_datetime",

View File

@ -222,7 +222,7 @@ hyper = "0.14.28"
hyper-proxy = "0.9.1" hyper-proxy = "0.9.1"
im = "15.1.0" im = "15.1.0"
index_list = "0.2.11" index_list = "0.2.11"
indexmap = "2.1.0" indexmap = "2.2.2"
indicatif = "0.17.7" indicatif = "0.17.7"
itertools = "0.10.5" itertools = "0.10.5"
jemallocator = { package = "tikv-jemallocator", version = "0.4.1", features = [ jemallocator = { package = "tikv-jemallocator", version = "0.4.1", features = [

View File

@ -1936,7 +1936,7 @@ dependencies = [
"futures-sink", "futures-sink",
"futures-util", "futures-util",
"http", "http",
"indexmap 2.1.0", "indexmap 2.2.2",
"slab", "slab",
"tokio", "tokio",
"tokio-util 0.7.1", "tokio-util 0.7.1",
@ -2287,9 +2287,9 @@ dependencies = [
[[package]] [[package]]
name = "indexmap" name = "indexmap"
version = "2.1.0" version = "2.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" checksum = "824b2ae422412366ba479e8111fd301f7b5faece8149317bb81925979a53f520"
dependencies = [ dependencies = [
"equivalent", "equivalent",
"hashbrown 0.14.1", "hashbrown 0.14.1",
@ -4348,7 +4348,7 @@ version = "0.9.30"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1bf28c79a99f70ee1f1d83d10c875d2e70618417fda01ad1785e027579d9d38" checksum = "b1bf28c79a99f70ee1f1d83d10c875d2e70618417fda01ad1785e027579d9d38"
dependencies = [ dependencies = [
"indexmap 2.1.0", "indexmap 2.2.2",
"itoa", "itoa",
"ryu", "ryu",
"serde", "serde",
@ -4619,7 +4619,7 @@ dependencies = [
"fnv", "fnv",
"im", "im",
"index_list", "index_list",
"indexmap 2.1.0", "indexmap 2.2.2",
"itertools", "itertools",
"lazy_static", "lazy_static",
"log", "log",
@ -4846,7 +4846,7 @@ dependencies = [
"dashmap", "dashmap",
"futures 0.3.30", "futures 0.3.30",
"futures-util", "futures-util",
"indexmap 2.1.0", "indexmap 2.2.2",
"indicatif", "indicatif",
"log", "log",
"quinn", "quinn",
@ -4896,7 +4896,7 @@ dependencies = [
"bincode", "bincode",
"crossbeam-channel", "crossbeam-channel",
"futures-util", "futures-util",
"indexmap 2.1.0", "indexmap 2.2.2",
"log", "log",
"rand 0.8.5", "rand 0.8.5",
"rayon", "rayon",
@ -5147,7 +5147,7 @@ dependencies = [
"clap 2.33.3", "clap 2.33.3",
"crossbeam-channel", "crossbeam-channel",
"flate2", "flate2",
"indexmap 2.1.0", "indexmap 2.2.2",
"itertools", "itertools",
"log", "log",
"lru", "lru",
@ -6310,7 +6310,7 @@ dependencies = [
"crossbeam-channel", "crossbeam-channel",
"futures-util", "futures-util",
"histogram", "histogram",
"indexmap 2.1.0", "indexmap 2.2.2",
"itertools", "itertools",
"libc", "libc",
"log", "log",
@ -6412,7 +6412,7 @@ dependencies = [
"async-trait", "async-trait",
"bincode", "bincode",
"futures-util", "futures-util",
"indexmap 2.1.0", "indexmap 2.2.2",
"indicatif", "indicatif",
"log", "log",
"rayon", "rayon",
@ -7468,7 +7468,7 @@ version = "0.20.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338"
dependencies = [ dependencies = [
"indexmap 2.1.0", "indexmap 2.2.2",
"toml_datetime", "toml_datetime",
"winnow", "winnow",
] ]

View File

@ -1126,7 +1126,7 @@ impl ConnectionTable {
}); });
let new_size = e_ref.len(); let new_size = e_ref.len();
if e_ref.is_empty() { if e_ref.is_empty() {
e.remove_entry(); e.swap_remove_entry();
} }
let connections_removed = old_size.saturating_sub(new_size); let connections_removed = old_size.saturating_sub(new_size);
self.total_size = self.total_size.saturating_sub(connections_removed); self.total_size = self.total_size.saturating_sub(connections_removed);