port to rocket

This commit is contained in:
41666 2022-11-20 23:17:23 -05:00
parent dae504b7af
commit c0bb19e849
4 changed files with 653 additions and 427 deletions

View file

@ -6,8 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
salvo = { version = "0.37.4", features = ["cors"] }
tokio = { version = "1.22.0", features = ["macros"] }
rocket = { version = "0.5.0-rc.2", features = ["json"] }
serde_json = "1.0.88"
serde = "1.0.147"
redis = { version = "0.22.1", default_features = false, features = [] }