Change to Actix Web

This commit is contained in:
GuilhermeWerner
2021-05-12 12:56:11 -03:00
parent 5a38931498
commit de74510671
8 changed files with 54 additions and 100 deletions

View File

@ -8,14 +8,22 @@ license = "MIT"
edition = "2018"
publish = false
[lib]
name="Backend"
crate-type = ["rlib"]
path = "Source/Backend.rs"
[[bin]]
name="Server"
path = "Source/Server.rs"
name="Backend"
path = "Source/Main.rs"
[dependencies]
rocket = "0.4.6"
Framework-Log = { path = "../Framework/Source/Log" }
actix-web = "3.3.2"
actix-service = "1.0.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rocket_contrib = "0.4.6"
mysql = "20.1.0"
dotenv = "0.15.0"
json = "0.12"
[dev-dependencies]
actix-rt = "2.2.0"