diff --git a/Cargo.lock b/Cargo.lock index 35cd893..a71b896 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -127,8 +127,8 @@ dependencies = [ "axum-core", "bytes", "futures-util", - "http 1.0.0", - "http-body 1.0.0", + "http", + "http-body", "http-body-util", "hyper", "hyper-util", @@ -161,8 +161,8 @@ dependencies = [ "async-trait", "bytes", "futures-util", - "http 1.0.0", - "http-body 1.0.0", + "http", + "http-body", "http-body-util", "mime", "pin-project-lite", @@ -791,7 +791,7 @@ dependencies = [ "futures-core", "futures-sink", "gloo-utils 0.2.0", - "http 1.0.0", + "http", "js-sys", "pin-project", "serde", @@ -876,17 +876,6 @@ dependencies = [ "utf8-width", ] -[[package]] -name = "http" -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" @@ -898,17 +887,6 @@ dependencies = [ "itoa", ] -[[package]] -name = "http-body" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" -dependencies = [ - "bytes", - "http 0.2.11", - "pin-project-lite", -] - [[package]] name = "http-body" version = "1.0.0" @@ -916,7 +894,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1cac85db508abc24a2e48553ba12a996e87244a0395ce011e62b37158745d643" dependencies = [ "bytes", - "http 1.0.0", + "http", ] [[package]] @@ -927,16 +905,16 @@ checksum = "41cb79eb393015dadd30fc252023adb0b2400a0caee0fa2a077e6e21a551e840" dependencies = [ "bytes", "futures-util", - "http 1.0.0", - "http-body 1.0.0", + "http", + "http-body", "pin-project-lite", ] [[package]] name = "http-range-header" -version = "0.3.1" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "add0ab9360ddbd88cfeb3bd9574a1d85cfdfa14db10b3e21d3700dbc4328758f" +checksum = "3ce4ef31cda248bbdb6e6820603b82dfcd9e833db65a43e997a0ccec777d11fe" [[package]] name = "httparse" @@ -959,8 +937,8 @@ dependencies = [ "bytes", "futures-channel", "futures-util", - "http 1.0.0", - "http-body 1.0.0", + "http", + "http-body", "httparse", "httpdate", "itoa", @@ -977,8 +955,8 @@ checksum = "ca38ef113da30126bbff9cd1705f9273e15d45498615d138b0c20279ac7a76aa" dependencies = [ "bytes", "futures-util", - "http 1.0.0", - "http-body 1.0.0", + "http", + "http-body", "hyper", "pin-project-lite", "socket2", @@ -1521,7 +1499,7 @@ dependencies = [ "diesel_migrations", "dotenv", "futures", - "http 1.0.0", + "http", "icondata", "lazy_static", "leptos", @@ -1684,7 +1662,7 @@ dependencies = [ "bytes", "encoding_rs", "futures-util", - "http 1.0.0", + "http", "httparse", "log", "memchr", @@ -2321,7 +2299,7 @@ dependencies = [ "dashmap", "futures", "gloo-net 0.5.0", - "http 1.0.0", + "http", "http-body-util", "hyper", "inventory", @@ -2682,7 +2660,7 @@ dependencies = [ "axum-core", "cookie", "futures-util", - "http 1.0.0", + "http", "parking_lot", "pin-project-lite", "tower-layer", @@ -2691,16 +2669,16 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.4.4" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61c5bb1d698276a2443e5ecfabc1008bf15a36c12e6a7176e7bf089ea9131140" +checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5" dependencies = [ "bitflags 2.4.1", "bytes", - "futures-core", "futures-util", - "http 0.2.11", - "http-body 0.4.6", + "http", + "http-body", + "http-body-util", "http-range-header", "httpdate", "mime", @@ -2733,7 +2711,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32b7b53dbe4dc5cf64382fcbd1e8b8ca222949d757fcabec1bcc8de751bb611b" dependencies = [ "async-trait", - "http 1.0.0", + "http", "time", "tokio", "tower-cookies", @@ -2752,7 +2730,7 @@ dependencies = [ "async-trait", "base64 0.22.0", "futures", - "http 1.0.0", + "http", "parking_lot", "rand", "serde", diff --git a/Cargo.toml b/Cargo.toml index 42040c6..d336617 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ futures = { version = "0.3.30", default-features = false, optional = true } tokio = { version = "1", optional = true } axum = { version = "0.7.5", optional = true } tower = { veresion = "0.4.13", optional = true } -tower-http = { version = "0.4", optional = true, features = ["fs"] } +tower-http = { version = "0.5", optional = true, features = ["fs"] } thiserror = "1.0.57" tower-sessions = { version = "0.12", default-features = false }