From 7b2044e0222ac96ea030bdeea77bea7384e37099 Mon Sep 17 00:00:00 2001 From: Dmitry Lavrenov <39522748+dmitrylavrenov@users.noreply.github.com> Date: Thu, 18 Jan 2024 10:41:39 +0300 Subject: [PATCH] Fix `RUSTSEC-2024-0003` by bumping `h2` to `v0.3.24` (#870) * Fix RUSTSEC-2024-0003 by bumping h2 to v0.3.24 * Update features snapshot --- Cargo.lock | 42 +++++++++++++++++++++------- utils/checks/snapshots/features.yaml | 11 +++++++- 2 files changed, 42 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6601e1070..1c42f791f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2178,6 +2178,12 @@ version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e48c92028aaa870e83d51c64e5d4e0b6981b360c522198c23959f219a4e1b15b" +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + [[package]] name = "errno" version = "0.3.1" @@ -3276,7 +3282,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" dependencies = [ "fallible-iterator", - "indexmap", + "indexmap 1.9.3", "stable_deref_trait", ] @@ -3329,9 +3335,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.3.18" +version = "0.3.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17f8a914c2987b688368b5138aa05321db91f4090cf26118185672ad588bce21" +checksum = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9" dependencies = [ "bytes", "fnv", @@ -3339,7 +3345,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap", + "indexmap 2.1.0", "slab", "tokio", "tokio-util", @@ -3393,6 +3399,12 @@ dependencies = [ "ahash 0.8.3", ] +[[package]] +name = "hashbrown" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" + [[package]] name = "headers" version = "0.3.8" @@ -3983,6 +3995,16 @@ dependencies = [ "serde", ] +[[package]] +name = "indexmap" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +dependencies = [ + "equivalent", + "hashbrown 0.14.3", +] + [[package]] name = "indoc" version = "2.0.1" @@ -5664,7 +5686,7 @@ checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" dependencies = [ "crc32fast", "hashbrown 0.12.3", - "indexmap", + "indexmap 1.9.3", "memchr", ] @@ -6596,7 +6618,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4" dependencies = [ "fixedbitset", - "indexmap", + "indexmap 1.9.3", ] [[package]] @@ -11381,7 +11403,7 @@ version = "0.100.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "64b20236ab624147dfbb62cf12a19aaf66af0e41b8398838b66e997d07d269d4" dependencies = [ - "indexmap", + "indexmap 1.9.3", "url", ] @@ -11394,7 +11416,7 @@ dependencies = [ "anyhow", "bincode", "cfg-if", - "indexmap", + "indexmap 1.9.3", "libc", "log", "object 0.29.0", @@ -11472,7 +11494,7 @@ dependencies = [ "anyhow", "cranelift-entity", "gimli 0.26.2", - "indexmap", + "indexmap 1.9.3", "log", "object 0.29.0", "serde", @@ -11537,7 +11559,7 @@ dependencies = [ "anyhow", "cc", "cfg-if", - "indexmap", + "indexmap 1.9.3", "libc", "log", "mach", diff --git a/utils/checks/snapshots/features.yaml b/utils/checks/snapshots/features.yaml index 48bd20134..8e396deb1 100644 --- a/utils/checks/snapshots/features.yaml +++ b/utils/checks/snapshots/features.yaml @@ -782,6 +782,8 @@ - name: environmental 1.1.4 features: - std +- name: equivalent 1.0.1 + features: [] - name: errno 0.3.1 features: [] - name: errno-dragonfly 0.1.2 @@ -1152,7 +1154,7 @@ - name: group 0.13.0 features: - alloc -- name: h2 0.3.18 +- name: h2 0.3.24 features: [] - name: handlebars 4.3.6 features: @@ -1175,6 +1177,9 @@ - ahash - inline-more - raw +- name: hashbrown 0.14.3 + features: + - raw - name: headers 0.3.8 features: [] - name: headers-core 0.2.0 @@ -1301,6 +1306,10 @@ - serde - serde-1 - std +- name: indexmap 2.1.0 + features: + - default + - std - name: indoc 2.0.1 features: [] - name: infer 0.2.3