diff --git a/Cargo.lock b/Cargo.lock index de08e77..68ecfca 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -871,7 +871,7 @@ dependencies = [ "futures-core", "futures-sink", "futures-util", - "http", + "http 0.2.11", "indexmap", "slab", "tokio", @@ -923,9 +923,20 @@ checksum = "e9025058dae765dee5070ec375f591e2ba14638c63feff74f13805a72e523163" [[package]] name = "http" -version = "0.2.8" +version = "0.2.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http" +version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399" +checksum = "b32afd38673a8016f7c9ae69e5af41a58f81b1d31689040f2f1959594ce194ea" dependencies = [ "bytes", "fnv", @@ -939,7 +950,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" dependencies = [ "bytes", - "http", + "http 0.2.11", "pin-project-lite", ] @@ -966,7 +977,7 @@ dependencies = [ "futures-core", "futures-util", "h2", - "http", + "http 0.2.11", "http-body", "httparse", "httpdate", @@ -985,7 +996,7 @@ version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c" dependencies = [ - "http", + "http 0.2.11", "hyper", "log", "rustls", @@ -1099,7 +1110,7 @@ dependencies = [ "encoding_rs", "event-listener", "futures-lite", - "http", + "http 0.2.11", "log", "mime", "once_cell", @@ -2860,7 +2871,7 @@ version = "0.1.1" dependencies = [ "async-trait", "bytes", - "http", + "http 1.0.0", "hyper", "hyper-rustls", "hyper-tls", @@ -2886,7 +2897,7 @@ dependencies = [ "dashmap", "flume", "futures", - "http", + "http 1.0.0", "hyper", "itertools", "log", @@ -2919,7 +2930,7 @@ dependencies = [ "anyhow", "async-trait", "dashmap", - "http", + "http 1.0.0", "hyper", "serde", "serde_json", diff --git a/toshi-client/Cargo.toml b/toshi-client/Cargo.toml index 3ceb0eb..e65e48e 100644 --- a/toshi-client/Cargo.toml +++ b/toshi-client/Cargo.toml @@ -35,7 +35,7 @@ rust_tls = ["hyper_client", "hyper-rustls"] [dependencies] toshi-types = { path = "../toshi-types" } async-trait = "^0.1" -http = "^0.2" +http = "^1.0" thiserror = "^1.0" serde = "^1.0" serde_json = "^1.0" diff --git a/toshi-server/Cargo.toml b/toshi-server/Cargo.toml index 8e28e2e..c65f826 100644 --- a/toshi-server/Cargo.toml +++ b/toshi-server/Cargo.toml @@ -19,7 +19,7 @@ extra_tokenizers = ["cang-jie"] [dependencies] toshi-types = { path = "../toshi-types" } -http = "^0.2" +http = "^1.0" bytes = "^1" hyper = { version = "^0.14", features = ["full"] } serde_json = "^1.0" diff --git a/toshi-types/Cargo.toml b/toshi-types/Cargo.toml index 96bfd09..f3fa5e9 100644 --- a/toshi-types/Cargo.toml +++ b/toshi-types/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" resolver = "2" [dependencies] -http = "^0.2" +http = "^1.0" thiserror = "^1.0" anyhow = "^1.0" serde = "^1.0"