rocket 5.0 & diesel 2.1

This commit is contained in:
2024-01-02 17:40:05 +08:00
parent 7621f56b34
commit 84943a3965
8 changed files with 41 additions and 193 deletions

View File

@@ -11,14 +11,11 @@ default = ["mastlogin"]
mastlogin = ["reqwest"]
[dependencies]
rocket = { version = "=0.5.0-rc.2", features = ["json"] }
rocket_codegen = "=0.5.0-rc.2"
rocket_http = "=0.5.0-rc.2"
rocket_sync_db_pools = { version = "=0.1.0-rc.2", features = ["diesel_postgres_pool"] }
rocket_sync_db_pools_codegen = "=0.1.0-rc.2"
diesel = { version = "1.4.8", features = ["postgres", "chrono"] }
diesel_migrations = "1.4.0"
redis = { version="0.23.0", features = ["aio", "tokio-comp"] }
rocket = { version = "0.5.0", features = ["json"] }
rocket_sync_db_pools = { version = "0.1.0", features = ["diesel_postgres_pool"] }
diesel = { version = "2.1", features = ["postgres", "chrono"] }
diesel_migrations = "2.1"
redis = { version="0.24.0", features = ["aio", "tokio-comp"] }
chrono = { version="0.4.19", features = ["serde"] }
rand = "0.8.5"
dotenv = "0.15.0"