diff --git a/Cargo.lock b/Cargo.lock index ec2dc6b1942a3..e4d169cc60ddf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1287,7 +1287,7 @@ dependencies = [ "pin-project", "quick-xml", "rand 0.8.5", - "reqwest", + "reqwest 0.11.27", "rustc_version 0.4.0", "serde", "serde_json", @@ -2693,7 +2693,7 @@ dependencies = [ "log", "once_cell", "percent-encoding", - "reqwest", + "reqwest 0.11.27", "serde", "serde_json", "tokio", @@ -3607,7 +3607,7 @@ dependencies = [ "arc-swap", "futures 0.3.30", "log", - "reqwest", + "reqwest 0.11.27", "serde", "serde_derive", "serde_json", @@ -4249,6 +4249,7 @@ dependencies = [ "bytes 1.6.0", "futures-channel", "futures-util", + "h2 0.4.4", "http 1.0.0", "http-body 1.0.0", "httparse", @@ -4369,6 +4370,22 @@ dependencies = [ "tokio-native-tls", ] +[[package]] +name = "hyper-tls" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "70206fc6890eaca9fde8a0bf71caa2ddfc9fe045ac9e5c70df101a7dbde866e0" +dependencies = [ + "bytes 1.6.0", + "http-body-util", + "hyper 1.2.0", + "hyper-util", + "native-tls", + "tokio", + "tokio-native-tls", + "tower-service", +] + [[package]] name = "hyper-util" version = "0.1.3" @@ -4592,7 +4609,7 @@ dependencies = [ "socket2 0.5.7", "widestring 1.0.2", "windows-sys 0.48.0", - "winreg", + "winreg 0.50.0", ] [[package]] @@ -4737,7 +4754,7 @@ dependencies = [ "k8s-test-framework", "rand 0.8.5", "regex", - "reqwest", + "reqwest 0.12.4", "serde_json", "tokio", "tracing 0.1.40", @@ -5917,7 +5934,7 @@ dependencies = [ "getrandom 0.2.14", "http 0.2.9", "rand 0.8.5", - "reqwest", + "reqwest 0.11.27", "serde", "serde_json", "serde_path_to_error", @@ -6014,7 +6031,7 @@ dependencies = [ "once_cell", "percent-encoding", "quick-xml", - "reqwest", + "reqwest 0.11.27", "serde", "serde_json", "tokio", @@ -7520,9 +7537,9 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.11.26" +version = "0.11.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78bf93c4af7a8bb7d879d51cebe797356ff10ae8516ace542b5182d9dcac10b2" +checksum = "dd67538700a17451e7cba03ac727fb961abb7607553461627b97de0b89cf4a62" dependencies = [ "base64 0.21.7", "bytes 1.6.0", @@ -7534,7 +7551,7 @@ dependencies = [ "http-body 0.4.5", "hyper 0.14.28", "hyper-rustls 0.24.2", - "hyper-tls", + "hyper-tls 0.5.0", "ipnet", "js-sys", "log", @@ -7562,7 +7579,50 @@ dependencies = [ "wasm-streams", "web-sys", "webpki-roots", - "winreg", + "winreg 0.50.0", +] + +[[package]] +name = "reqwest" +version = "0.12.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "566cafdd92868e0939d3fb961bd0dc25fcfaaed179291093b3d43e6b3150ea10" +dependencies = [ + "base64 0.22.1", + "bytes 1.6.0", + "encoding_rs", + "futures-channel", + "futures-core", + "futures-util", + "h2 0.4.4", + "http 1.0.0", + "http-body 1.0.0", + "http-body-util", + "hyper 1.2.0", + "hyper-tls 0.6.0", + "hyper-util", + "ipnet", + "js-sys", + "log", + "mime", + "native-tls", + "once_cell", + "percent-encoding", + "pin-project-lite", + "rustls-pemfile 2.1.0", + "serde", + "serde_json", + "serde_urlencoded", + "sync_wrapper", + "system-configuration", + "tokio", + "tokio-native-tls", + "tower-service", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "winreg 0.52.0", ] [[package]] @@ -10055,7 +10115,7 @@ dependencies = [ "owo-colors", "paste", "regex", - "reqwest", + "reqwest 0.12.4", "serde", "serde_json", "serde_yaml 0.9.34+deprecated", @@ -10203,7 +10263,7 @@ dependencies = [ "rdkafka", "redis", "regex", - "reqwest", + "reqwest 0.12.4", "rmp-serde", "rmpv", "roaring", @@ -10271,7 +10331,7 @@ dependencies = [ "futures 0.3.30", "graphql_client", "indoc", - "reqwest", + "reqwest 0.12.4", "serde", "serde_json", "tokio", @@ -11252,6 +11312,16 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "winreg" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a277a57398d4bfa075df44f501a17cfdf8542d224f0d36095a2adc7aee4ef0a5" +dependencies = [ + "cfg-if", + "windows-sys 0.48.0", +] + [[package]] name = "wiremock" version = "0.5.22" diff --git a/Cargo.toml b/Cargo.toml index caa0ea917246d..1f8064bf849b4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -379,7 +379,7 @@ libc = "0.2.154" similar-asserts = "1.5.0" proptest.workspace = true quickcheck = "1.0.3" -reqwest = { version = "0.11", features = ["json"] } +reqwest = { version = "0.12", features = ["json"] } rstest = {version = "0.19.0"} tempfile = "3.10.1" test-generator = "0.3.1" diff --git a/lib/k8s-e2e-tests/Cargo.toml b/lib/k8s-e2e-tests/Cargo.toml index 04ff1944186de..6afc1a59fd8f7 100644 --- a/lib/k8s-e2e-tests/Cargo.toml +++ b/lib/k8s-e2e-tests/Cargo.toml @@ -12,7 +12,7 @@ futures = "0.3" k8s-openapi = { version = "0.16.0", default-features = false, features = ["v1_19"] } k8s-test-framework = { version = "0.1", path = "../k8s-test-framework" } regex = "1" -reqwest = { version = "0.11.26", features = ["json"] } +reqwest = { version = "0.12.4", features = ["json"] } serde_json.workspace = true tokio = { version = "1.37.0", features = ["full"] } indoc = "2.0.5" diff --git a/lib/vector-api-client/Cargo.toml b/lib/vector-api-client/Cargo.toml index e004265c3cd92..10c0797cd6349 100644 --- a/lib/vector-api-client/Cargo.toml +++ b/lib/vector-api-client/Cargo.toml @@ -24,7 +24,7 @@ tokio-stream = { version = "0.1.15", default-features = false, features = ["sync graphql_client = { version = "0.14.0", default-features = false, features = ["graphql_query_derive"] } # HTTP / WebSockets -reqwest = { version = "0.11.26", default-features = false, features = ["json"] } +reqwest = { version = "0.12.4", default-features = false, features = ["json"] } tokio-tungstenite = { version = "0.20.1", default-features = false, features = ["connect", "rustls"] } # External libs diff --git a/vdev/Cargo.toml b/vdev/Cargo.toml index 21ab0c84ee173..ac726c2f21726 100644 --- a/vdev/Cargo.toml +++ b/vdev/Cargo.toml @@ -30,7 +30,7 @@ os_info = { version = "3.8.2", default-features = false } owo-colors = { version = "4.0.0", features = ["supports-colors"] } paste = "1.0.14" regex = { version = "1.10.4", default-features = false, features = ["std", "perf"] } -reqwest = { version = "0.11", features = ["json", "blocking"] } +reqwest = { version = "0.12", features = ["json", "blocking"] } serde.workspace = true serde_json.workspace = true serde_yaml = "0.9.34"