refactor api

This commit is contained in:
41666 2022-11-27 18:18:41 -05:00
parent a8c4bc5756
commit 01471342b0
18 changed files with 873 additions and 1595 deletions

View file

@ -6,10 +6,12 @@ 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.2", features = ["json"] }
rocket_db_pools = { version = "0.1.0-rc.2", features = [ "deadpool_redis" ] }
redis = { version = "0.22.1", features = ["aio", "r2d2", "tokio-comp"] }
serde_json = "1.0.88"
serde = "1.0.147"
juniper = "0.15.10"
juniper_rocket = "0.8.2"
once_cell = "1.16.0"
async-graphql = { version = "4.0.16", features = ["apollo_tracing"] }
async-graphql-axum = "4.0.16"
axum = "0.6.0"
tokio = { version = "1.22.0", features = ["full"] }
tower-http = { version = "0.3.4", features = ["cors"] }
lazy_static = "1.4.0"