From 952e75592b9d6029684020cb1347387b39479fc3 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 28 Apr 2022 12:02:28 +0000 Subject: [PATCH 1/2] Update Rust crate tower-http to 0.3.1 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e11bf1a..6d2fcd2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -995,9 +995,9 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.3.0" +version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79dd37121c38240c4b4fe6520332406218bbf876f2f690fe9e406020189366fd" +checksum = "f7755f984aa46a9d50829dc84b6a674b2f3b8b4de47c0708923953b090d48acc" dependencies = [ "base64", "bitflags", diff --git a/Cargo.toml b/Cargo.toml index 9a93848..eb5b457 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ hyper = { version = "0.14.18" } tokio = { version = "1.18.0", features = ["full"] } tracing = "0.1.34" tracing-subscriber = {version = "0.3.11", features = ["env-filter"] } -tower-http = { version = "0.3.0", features = ["fs", "trace", "auth"] } +tower-http = { version = "0.3.1", features = ["fs", "trace", "auth"] } tar = "0.4.38" flate2 = "1.0.23" tokio-util = { version = "0.7.1", features = ["io"] } From 0f06a5e0175686a9774101eb06b84fffe09f8e0e Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Fri, 29 Apr 2022 10:21:48 +0200 Subject: [PATCH 2/2] Added api-docs-vieter site --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 62074d8..423c0bd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -51,7 +51,7 @@ async fn main() { // Each static site gets mounted explicitely so that the default site can be used as fallback // Each entry is of the form (route, static dir name) - let sites = [("/docs", "docs")]; + let sites = [("/docs", "docs"), ("/api-docs/vieter", "api-docs-vieter")]; for (path, dir) in sites { let full_path = format!("{}/{}", static_dir, dir);