(feat) Switched to sqlx.

Signed-off-by: Louis Hollingworth <louis@hollingworth.nl>
This commit is contained in:
Louis Hollingworth 2023-10-26 18:14:26 +01:00
parent f267d6b285
commit ba4216c21e
Signed by: lucxjo
GPG key ID: A11415CB3DC7809B
22 changed files with 957 additions and 579 deletions

View file

@ -19,11 +19,15 @@ argon2 = { version = "0.5.2", features = ["password-hash", "std"] }
axum = {version = "0.6.20", features = ["macros"]}
chrono = {version = "0.4.31", features = ["serde"]}
crypto = { version = "0.5.1", features = ["password-hash"] }
diesel = { version = "2.1.3", features = ["postgres", "extras", "uuid", "r2d2"] }
diesel_migrations = { version = "2.1.0", features = ["postgres"] }
dotenvy = "0.15.7"
rand = "0.8.5"
serde = { version = "1.0.189", features = ["derive"] }
serde_json = "1.0.107"
tokio = { version = "1.33.0", features = ["full"] }
uuid = { version = "1.0.0", features = ["serde", "v4", "v7"] }
sqlx = { version = "0.7", features = ["runtime-tokio", "postgres", "macros", "migrate", "uuid", "chrono", "json"] }
anyhow = "1.0.75"
thiserror = "1.0.50"
[profile.dev.package.sqlx-macros]
opt-level = 3