diff options
-rw-r--r-- | Cargo.lock | 7 | ||||
-rw-r--r-- | Cargo.toml | 3 | ||||
-rw-r--r-- | src/main.rs | 2 |
3 files changed, 6 insertions, 6 deletions
@@ -810,13 +810,15 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] name = "chrono" -version = "0.4.15" +version = "0.4.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "942f72db697d8767c22d46a598e01f2d3b475501ea43d0db4f16d90259182d0b" +checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73" dependencies = [ + "libc", "num-integer", "num-traits", "time 0.1.44", + "winapi 0.3.9", ] [[package]] @@ -1703,7 +1705,6 @@ version = "0.9.1-alpha.0" dependencies = [ "actix-files", "actix-multipart", - "actix-rt", "actix-web 3.0.2", "actix-web-httpauth", "alphanumeric-sort", @@ -26,7 +26,7 @@ bytesize = "1.0.0" nanoid = "0.3" alphanumeric-sort = "1.4.0" structopt = "0.3" -chrono = "0.4.15" +chrono = "0.4.19" chrono-humanize = "0.1.1" maud = { version = "0.22.0", features = ["actix-web"] } serde = { version = "1.0.115", features = ["derive"] } @@ -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 b947004..c70bd3b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -96,7 +96,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(); |