Rewrite from mongodb to sqlx (#1)

Reviewed-on: #1
This commit is contained in:
2025-07-20 13:16:31 +00:00
parent a58df1cb8e
commit 14c520c1d2
19 changed files with 814 additions and 1078 deletions

View File

@@ -7,16 +7,27 @@ edition = "2024"
anyhow = "1.0.98"
axum = { version = "0.8.4", features = ["macros"] }
dotenvy = "0.15.7"
futures-util = "0.3.31"
http = "1.3.1"
mongodb = "3.2.4"
once_cell = "1.21.3"
reqwest = { version = "0.12.22", features = ["json"] }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
tokio = { version = "1.46.1", features = [] }
sqlx = { version = "0.8.6", features = [
"sqlite",
"runtime-tokio",
"tls-native-tls",
"macros",
"uuid",
] }
tokio = { version = "1.46.1", features = ["full"] }
tower = { version = "0.5.2", features = ["util"] }
tower-http = { version = "0.6.6", features = ["cors", "fs", "trace"] }
tracing = "0.1.41"
tracing-log = "0.2.0"
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "fmt"] }
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true