From 091174d7c99a0ac892ea9d20f519ab91d02ae037 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 28 Nov 2023 21:38:31 +0000 Subject: [PATCH] fix(deps): update rust crate http to v1 --- Cargo.lock | 29 ++++++++++++++++++++--------- plugins/localhost/Cargo.toml | 2 +- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2d7fbac1ce..18fd2b2e54 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1784,7 +1784,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.9", "indexmap 1.9.3", "slab", "tokio", @@ -1902,6 +1902,17 @@ dependencies = [ "itoa 1.0.9", ] +[[package]] +name = "http" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b32afd38673a8016f7c9ae69e5af41a58f81b1d31689040f2f1959594ce194ea" +dependencies = [ + "bytes 1.4.0", + "fnv", + "itoa 1.0.9", +] + [[package]] name = "http-body" version = "0.4.5" @@ -1909,7 +1920,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes 1.4.0", - "http", + "http 0.2.9", "pin-project-lite", ] @@ -1942,7 +1953,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.9", "http-body", "httparse", "httpdate", @@ -3505,7 +3516,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.9", "http-body", "hyper", "hyper-tls", @@ -4550,7 +4561,7 @@ dependencies = [ "glob", "gtk", "heck 0.4.1", - "http", + "http 0.2.9", "ignore", "objc", "once_cell", @@ -4676,7 +4687,7 @@ dependencies = [ name = "tauri-plugin-localhost" version = "0.1.0" dependencies = [ - "http", + "http 1.0.0", "log", "serde", "serde_json", @@ -4834,7 +4845,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "108683199cb18f96d2d4134187bb789964143c845d2d154848dda209191fd769" dependencies = [ "gtk", - "http", + "http 0.2.9", "http-range", "rand 0.8.5", "raw-window-handle", @@ -5226,7 +5237,7 @@ dependencies = [ "byteorder", "bytes 1.4.0", "data-encoding", - "http", + "http 0.2.9", "httparse", "log", "native-tls", @@ -5955,7 +5966,7 @@ dependencies = [ "glib", "gtk", "html5ever", - "http", + "http 0.2.9", "kuchiki", "libc", "log", diff --git a/plugins/localhost/Cargo.toml b/plugins/localhost/Cargo.toml index 12fad9a075..a2c33423b8 100644 --- a/plugins/localhost/Cargo.toml +++ b/plugins/localhost/Cargo.toml @@ -16,4 +16,4 @@ tauri.workspace = true log.workspace = true thiserror.workspace = true tiny_http = "0.12" -http = "0.2" \ No newline at end of file +http = "1.0" \ No newline at end of file