Started reimplementation of the Rest api in actix-web

This commit is contained in:
2023-03-17 22:19:10 +01:00
parent 7741c1dbae
commit d961896242
12 changed files with 2247 additions and 0 deletions

18
backend-actix/Cargo.toml Normal file
View File

@@ -0,0 +1,18 @@
[package]
name = "backend-actix"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
actix-web = "4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
uuid = { version = "1.3.0", features = ["serde", "v4"] }
diesel = { version = "2.0", features = ["postgres", "r2d2", "uuid"] }
diesel-derive-enum = { version = "2.0", features = ["postgres"] }
argon2 = "0.5"
chrono = "0.4"
jsonwebtoken = "8.1"
validator = { version = "0.16", features = ["derive"] }