switched framework to actix-web

This commit is contained in:
uh wot 2021-10-24 15:29:29 +02:00
parent 89a9303321
commit d2a7090033
Signed by: uhwot
GPG key ID: CB2454984587B781
4 changed files with 549 additions and 489 deletions

View file

@ -6,9 +6,11 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rocket = { version = "0.5.0-rc.1", features = ["json"], default-features = false }
# using beta due to this: https://github.com/actix/actix-web/issues/2155
actix-web = "4.0.0-beta.10"
actix-cors = "0.6.0-beta.3"
serde = { version = "1.0", features = ["derive"] }
reqwest = { version = "0.11", features = ["json", "rustls-tls", "cookies", "gzip"], default-features = false }
serde_json = "1.0"
thiserror = "1.0"
regex = "1"
env_logger = "0.9"