fix(deps): update rust crate http to v1 (#729)

* fix(deps): update rust crate http to v1

* Update Cargo.toml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
This commit is contained in:
renovate[bot]
2023-11-30 13:00:09 +01:00
committed by GitHub
co-authored by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Fabian-Lars
parent e1eb82fe92
commit aabb440159
2 changed files with 21 additions and 10 deletions
Generated
+20 -9
View File
@@ -1808,7 +1808,7 @@ dependencies = [
"futures-core", "futures-core",
"futures-sink", "futures-sink",
"futures-util", "futures-util",
"http", "http 0.2.9",
"indexmap 1.9.3", "indexmap 1.9.3",
"slab", "slab",
"tokio", "tokio",
@@ -1926,6 +1926,17 @@ dependencies = [
"itoa 1.0.9", "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",
"fnv",
"itoa 1.0.9",
]
[[package]] [[package]]
name = "http-body" name = "http-body"
version = "0.4.5" version = "0.4.5"
@@ -1933,7 +1944,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1"
dependencies = [ dependencies = [
"bytes", "bytes",
"http", "http 0.2.9",
"pin-project-lite", "pin-project-lite",
] ]
@@ -1966,7 +1977,7 @@ dependencies = [
"futures-core", "futures-core",
"futures-util", "futures-util",
"h2", "h2",
"http", "http 0.2.9",
"http-body", "http-body",
"httparse", "httparse",
"httpdate", "httpdate",
@@ -3603,7 +3614,7 @@ dependencies = [
"futures-core", "futures-core",
"futures-util", "futures-util",
"h2", "h2",
"http", "http 0.2.9",
"http-body", "http-body",
"hyper", "hyper",
"hyper-tls", "hyper-tls",
@@ -4717,7 +4728,7 @@ dependencies = [
"glob", "glob",
"gtk", "gtk",
"heck 0.4.1", "heck 0.4.1",
"http", "http 0.2.9",
"ignore", "ignore",
"notify-rust", "notify-rust",
"objc", "objc",
@@ -4872,7 +4883,7 @@ dependencies = [
name = "tauri-plugin-localhost" name = "tauri-plugin-localhost"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"http", "http 1.0.0",
"log", "log",
"serde", "serde",
"serde_json", "serde_json",
@@ -5030,7 +5041,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "108683199cb18f96d2d4134187bb789964143c845d2d154848dda209191fd769" checksum = "108683199cb18f96d2d4134187bb789964143c845d2d154848dda209191fd769"
dependencies = [ dependencies = [
"gtk", "gtk",
"http", "http 0.2.9",
"http-range", "http-range",
"rand 0.8.5", "rand 0.8.5",
"raw-window-handle", "raw-window-handle",
@@ -5431,7 +5442,7 @@ dependencies = [
"byteorder", "byteorder",
"bytes", "bytes",
"data-encoding", "data-encoding",
"http", "http 0.2.9",
"httparse", "httparse",
"log", "log",
"native-tls", "native-tls",
@@ -6291,7 +6302,7 @@ dependencies = [
"glib", "glib",
"gtk", "gtk",
"html5ever", "html5ever",
"http", "http 0.2.9",
"kuchiki", "kuchiki",
"libc", "libc",
"log", "log",
+1 -1
View File
@@ -16,4 +16,4 @@ tauri.workspace = true
log.workspace = true log.workspace = true
thiserror.workspace = true thiserror.workspace = true
tiny_http = "0.12" tiny_http = "0.12"
http = "0.2" http = "1"