Rename db to util and use OffsetDateTime with sqlx

This commit is contained in:
Joscha 2023-08-06 17:38:49 +02:00
parent 6fcd073738
commit 553a56bb12
7 changed files with 46 additions and 28 deletions

View file

@ -16,7 +16,7 @@ humantime-serde = "1.1.1"
mime_guess = "2.0.4"
rust-embed = "6.8.1"
serde = { version = "1.0.181", features = ["derive"] }
sqlx = { version = "0.7.1", features = ["runtime-tokio", "sqlite"] }
sqlx = { version = "0.7.1", features = ["runtime-tokio", "sqlite", "time"] }
time = { version = "0.3.25", features = ["formatting", "macros", "parsing"] }
tokio = { version = "1.29.1", features = ["full"] }
toml = "0.7.6"