feat: axum + diesel

This commit is contained in:
brian
2025-05-23 23:50:20 +08:00
parent 7a58035d0c
commit 39e656ef91
10 changed files with 172 additions and 179 deletions

View File

@@ -7,8 +7,8 @@ edition = "2021"
[dependencies]
async-trait = "0.1.81"
axum = {version = "0.7.5", features = ["macros"]}
axum-extra = { version = "0.9.3", features = ["typed-header"] }
axum = {version = "0.8", features = ["macros"]}
axum-extra = { version = "0.10", features = ["typed-header"] }
chrono = {version = "0.4", features = ["serde"]}
deadpool-diesel = {version ="0.6.1", features = ["postgres"]}
diesel = { version = "2", features = ["postgres", "chrono"] }