Refactor db schema and use Diesel

This commit is contained in:
Elias Projahn 2024-03-23 18:06:46 +01:00
parent 2f6676ba3b
commit 220821a0e0
14 changed files with 1310 additions and 599 deletions

View file

@ -5,7 +5,10 @@ edition = "2021"
[dependencies]
adw = { package = "libadwaita", version = "0.5", features = ["v1_4"] }
anyhow = "1"
chrono = "0.4"
diesel = { version = "2", features = ["chrono", "sqlite"] }
diesel_migrations = "2"
fragile = "2"
gettext-rs = { version = "0.7", features = ["gettext-system"] }
gstreamer-play = "0.22"
@ -14,7 +17,8 @@ log = "0.4"
mpris-player = "0.6"
once_cell = "1"
rand = "0.8"
rusqlite = { version = "0.29", features = ["bundled"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
tracing-subscriber = "0.3"
uuid = { version = "1", features = ["v4"] }