feat: attention & redis & async

This commit is contained in:
2022-03-20 22:22:08 +08:00
parent e87d8acb7c
commit 58eb7aba6f
16 changed files with 495 additions and 211 deletions

View File

@@ -8,8 +8,13 @@ license = "AGPL-3.0"
[dependencies]
rocket = { version = "0.5.0-rc.1", features = ["json"] }
diesel = { version = "1.4.8", features= ["sqlite", "chrono", "r2d2"] }
chrono = { version="0.4", features=["serde"] }
rand = "0.8.5"
dotenv = "0.15.0"
sha2 = "0.10.2"
diesel = { version = "1.4.8", features = ["sqlite", "chrono", "r2d2"] }
redis = { version="0.21.5", features = ["aio", "async-std-comp"] }
chrono = { version="0.*", features =["serde"] }
rand = "0.*"
dotenv = "0.*"
sha2 = "0.*"
[dependencies.rocket_sync_db_pools]
version = "0.1.0-rc.1"
features = ["diesel_sqlite_pool"]