From 33a82e12dc8e6f12f4f2e1cff2e5365449098054 Mon Sep 17 00:00:00 2001 From: equal-l2 Date: Thu, 1 Oct 2020 01:42:42 +0900 Subject: Remove actix-rt --- Cargo.lock | 1 - Cargo.toml | 1 - src/main.rs | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d7be892..a70b6db 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1648,7 +1648,6 @@ version = "0.9.1-alpha.0" dependencies = [ "actix-files", "actix-multipart", - "actix-rt", "actix-web 3.0.2", "actix-web-httpauth", "alphanumeric-sort", diff --git a/Cargo.toml b/Cargo.toml index 03e1e37..f8f3773 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,7 +43,6 @@ zip = "0.5.5" qrcodegen = "1.6.0" actix-files = "0.3.0" actix-multipart = "0.3.0" -actix-rt = "1.1.1" actix-web-httpauth = "0.5.0" mime = "0.3" diff --git a/src/main.rs b/src/main.rs index 1830a70..45187ca 100644 --- a/src/main.rs +++ b/src/main.rs @@ -91,7 +91,7 @@ fn main() { } } -#[actix_rt::main(miniserve)] +#[actix_web::main(miniserve)] async fn run() -> Result<(), ContextualError> { if cfg!(windows) && !Paint::enable_windows_ascii() { Paint::disable(); -- cgit v1.2.3