diff --git a/Cargo.lock b/Cargo.lock index 712040b89e69f..52821b2850cac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2588,7 +2588,7 @@ dependencies = [ "arc-swap 0.4.8", "futures 0.3.12", "log", - "reqwest", + "reqwest 0.10.10", "serde", "serde_derive", "serde_json", @@ -2689,6 +2689,25 @@ dependencies = [ "tracing-futures 0.2.5", ] +[[package]] +name = "h2" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "825343c4eef0b63f541f8903f395dc5beb362a979b5799a84062527ef1e37726" +dependencies = [ + "bytes 1.0.1", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http", + "indexmap", + "slab", + "tokio 1.2.0", + "tokio-util 0.6.3", + "tracing 0.1.23", +] + [[package]] name = "half" version = "1.7.1" @@ -3086,7 +3105,7 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", - "h2", + "h2 0.2.7", "http", "http-body 0.3.1", "httparse", @@ -3110,6 +3129,7 @@ dependencies = [ "futures-channel", "futures-core", "futures-util", + "h2 0.3.3", "http", "http-body 0.4.0", "httparse", @@ -3173,6 +3193,19 @@ dependencies = [ "tokio-tls", ] +[[package]] +name = "hyper-tls" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" +dependencies = [ + "bytes 1.0.1", + "hyper 0.14.4", + "native-tls", + "tokio 1.2.0", + "tokio-native-tls 0.3.0", +] + [[package]] name = "hyper-unix-connector" version = "0.1.5" @@ -3422,7 +3455,7 @@ dependencies = [ "k8s-openapi", "k8s-test-framework", "regex", - "reqwest", + "reqwest 0.11.4", "serde_json", "tokio 0.2.25", ] @@ -4223,7 +4256,7 @@ dependencies = [ "pbkdf2 0.3.0", "percent-encoding", "rand 0.7.3", - "reqwest", + "reqwest 0.10.10", "rustls 0.17.0", "serde", "serde_bytes", @@ -5345,7 +5378,7 @@ dependencies = [ "rand 0.8.3", "regex", "tokio 0.2.25", - "tokio-native-tls", + "tokio-native-tls 0.1.0", "tokio-util 0.3.1", "url", ] @@ -5852,7 +5885,7 @@ dependencies = [ "http-body 0.3.1", "hyper 0.13.10", "hyper-rustls", - "hyper-tls", + "hyper-tls 0.4.3", "ipnet", "js-sys", "lazy_static", @@ -5877,6 +5910,41 @@ dependencies = [ "winreg 0.7.0", ] +[[package]] +name = "reqwest" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "246e9f61b9bb77df069a947682be06e31ac43ea37862e244a69f177694ea6d22" +dependencies = [ + "base64 0.13.0", + "bytes 1.0.1", + "encoding_rs", + "futures-core", + "futures-util", + "http", + "http-body 0.4.0", + "hyper 0.14.4", + "hyper-tls 0.5.0", + "ipnet", + "js-sys", + "lazy_static", + "log", + "mime", + "native-tls", + "percent-encoding", + "pin-project-lite 0.2.4", + "serde", + "serde_json", + "serde_urlencoded 0.7.0", + "tokio 1.2.0", + "tokio-native-tls 0.3.0", + "url", + "wasm-bindgen", + "wasm-bindgen-futures", + "web-sys", + "winreg 0.7.0", +] + [[package]] name = "resolv-conf" version = "0.7.0" @@ -5958,7 +6026,7 @@ dependencies = [ "futures 0.3.12", "http", "hyper 0.13.10", - "hyper-tls", + "hyper-tls 0.4.3", "lazy_static", "log", "md5", @@ -7389,6 +7457,16 @@ dependencies = [ "tokio 0.2.25", ] +[[package]] +name = "tokio-native-tls" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7d995660bd2b7f8c1568414c1126076c13fbb725c40112dc0120b78eb9b717b" +dependencies = [ + "native-tls", + "tokio 1.2.0", +] + [[package]] name = "tokio-openssl" version = "0.4.0" @@ -7489,7 +7567,7 @@ dependencies = [ "native-tls", "pin-project 0.4.27", "tokio 0.2.25", - "tokio-native-tls", + "tokio-native-tls 0.1.0", "tungstenite", ] @@ -8191,7 +8269,7 @@ dependencies = [ "rdkafka", "redis", "regex", - "reqwest", + "reqwest 0.11.4", "rlua", "rusoto_cloudwatch", "rusoto_core", @@ -8263,7 +8341,7 @@ dependencies = [ "chrono", "futures 0.3.12", "graphql_client", - "reqwest", + "reqwest 0.11.4", "serde", "serde_json", "tokio 0.2.25", diff --git a/Cargo.toml b/Cargo.toml index 4980714cd6b3d..caa34e730941f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -256,7 +256,7 @@ libc = "0.2.80" libz-sys = "1.1.2" matches = "0.1.8" pretty_assertions = "0.6.1" -reqwest = { version = "0.10.9", features = ["json"] } +reqwest = { version = "0.11.4", features = ["json"] } rusty-fork = "0.3.0" tempfile = "3.0.6" tokio = { version = "0.2", features = ["test-util"] } diff --git a/lib/k8s-e2e-tests/Cargo.toml b/lib/k8s-e2e-tests/Cargo.toml index 883347da330f8..e88908122fba5 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.11.0", default-features = false, features = ["v1_16"] } k8s-test-framework = { version = "0.1", path = "../k8s-test-framework" } regex = "1" -reqwest = { version = "0.10", features = ["json"] } +reqwest = { version = "0.11", features = ["json"] } serde_json = "1" tokio = { version = "0.2", features = ["macros", "rt-threaded", "time"] } indoc = "1.0.3" diff --git a/lib/vector-api-client/Cargo.toml b/lib/vector-api-client/Cargo.toml index 2138aa1419c39..ce686f04bec33 100644 --- a/lib/vector-api-client/Cargo.toml +++ b/lib/vector-api-client/Cargo.toml @@ -24,7 +24,7 @@ tokio = { version = "0.2.13", features = ["blocking", "fs", "io-std", "macros", graphql_client = "0.9.0" # HTTP / WebSockets -reqwest = { version = "0.10.9", features = ["json"] } +reqwest = { version = "0.11.4", features = ["json"] } tokio-tungstenite = { version = "0.11.0", features = ["tls"] } # External libs