diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2020-09-30 16:53:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 16:53:28 +0000 |
commit | 6ac4e2dbae6f96482c7200d58585c96a1e8d278e (patch) | |
tree | 2c2eac036e620059f2a122079ef100f160ec7c7f | |
parent | Merge pull request #381 from svenstaro/dependabot/cargo/chrono-0.4.18 (diff) | |
parent | Remove actix-rt (diff) | |
download | miniserve-6ac4e2dbae6f96482c7200d58585c96a1e8d278e.tar.gz miniserve-6ac4e2dbae6f96482c7200d58585c96a1e8d278e.zip |
Merge pull request #382 from equal-l2/remove-actix-rt
Remove actix-rt
-rw-r--r-- | Cargo.lock | 1 | ||||
-rw-r--r-- | Cargo.toml | 1 | ||||
-rw-r--r-- | src/main.rs | 2 |
3 files changed, 1 insertions, 3 deletions
@@ -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", @@ -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(); |