From 1e6bc916b83506332169678ac4816022b2f5b1b9 Mon Sep 17 00:00:00 2001 From: Daniel Szabo Date: Sun, 8 May 2022 16:37:54 +0100 Subject: [PATCH] missing dependencies from previous commit --- Cargo.toml | 4 +++- src/main.rs | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1247c7d..f212fe1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,4 +18,6 @@ actix-multipart = "0.4.0" futures = "0.3" sanitize-filename = "0.3.0" log = "0.4" -env_logger = "0.9.0" \ No newline at end of file +env_logger = "0.9.0" +actix-web-httpauth = "0.6.0" +lazy_static = "1.4.0" \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 353d077..07139af 100644 --- a/src/main.rs +++ b/src/main.rs @@ -377,6 +377,7 @@ async fn main() -> std::io::Result<()> { )) }) .bind(format!("127.0.0.1:{}", args.port.to_string()))? + .workers(args.threads as usize) .run() .await }