diff --git a/Cargo.lock b/Cargo.lock index b7d63a4..52301de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1179,7 +1179,7 @@ dependencies = [ "tokio", "tokio-rustls", "tower", - "tower-http", + "tower-http 0.6.11", "tower-service", "url", "wasm-bindgen", @@ -1388,7 +1388,7 @@ dependencies = [ "tokio-stream", "toml", "tower", - "tower-http", + "tower-http 0.7.1", "tracing", "tracing-appender", "tracing-subscriber", @@ -1846,14 +1846,30 @@ dependencies = [ "http", "http-body", "pin-project-lite", - "tokio", "tower", "tower-layer", "tower-service", - "tracing", "url", ] +[[package]] +name = "tower-http" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08a05a66a4fdd61cbbe0a1d755ffe0ca6aba159dd4820936a0ff8a8278245b9c" +dependencies = [ + "bitflags", + "bytes", + "http", + "http-body", + "percent-encoding", + "pin-project-lite", + "tokio", + "tower-layer", + "tower-service", + "tracing", +] + [[package]] name = "tower-layer" version = "0.3.3" diff --git a/Cargo.toml b/Cargo.toml index 9cb36ae..6a8a7d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ time = { version = "0.3.45", features = ["parsing"] } tokio = { version = "1", features = ["macros", "net", "rt-multi-thread", "signal", "sync", "time"] } tokio-stream = "0.1" toml = "1.1" -tower-http = { version = "0.6", features = ["cors", "timeout", "trace"] } +tower-http = { version = "0.7", features = ["cors", "timeout", "trace"] } tracing = "0.1" tracing-appender = "0.2" tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }