Compare commits

...

4 Commits

Author SHA1 Message Date
836fe1adcd Add serde
All checks were successful
Push Workflows / rustfmt (push) Successful in 5s
Push Workflows / tailwind-build (push) Successful in 5s
Push Workflows / clippy (push) Successful in 22s
Push Workflows / docs (push) Successful in 26s
Push Workflows / test (push) Successful in 28s
Push Workflows / build (push) Successful in 52s
Push Workflows / nix-build (push) Successful in 4m54s
2026-06-18 22:06:59 -04:00
c5437ec7b3 Add thiserror 2026-06-18 21:45:54 -04:00
3fa0e6e4c9 Add utils module 2026-06-18 21:45:13 -04:00
78f528ff77 Add build script for diesel_migrations 2026-06-18 21:27:30 -04:00
5 changed files with 10 additions and 0 deletions

2
Cargo.lock generated
View File

@@ -2060,6 +2060,8 @@ dependencies = [
"dioxus", "dioxus",
"dotenvy", "dotenvy",
"lucide-dioxus", "lucide-dioxus",
"serde",
"thiserror 2.0.18",
"tracing", "tracing",
] ]

View File

@@ -3,6 +3,7 @@ name = "libretunes"
version = "0.1.0" version = "0.1.0"
authors = ["Ethan Girouard"] authors = ["Ethan Girouard"]
edition = "2024" edition = "2024"
build = "src/build.rs"
[dependencies] [dependencies]
diesel = { version = "2.3.10", optional = true, features = [ "postgres" ] } diesel = { version = "2.3.10", optional = true, features = [ "postgres" ] }
@@ -10,6 +11,8 @@ diesel_migrations = { version = "2.3.2", optional = true, features = [ "postgres
dioxus = { version = "0.7.9", features = ["router", "fullstack"] } dioxus = { version = "0.7.9", features = ["router", "fullstack"] }
dotenvy = { version = "0.15.7", optional = true } dotenvy = { version = "0.15.7", optional = true }
lucide-dioxus = "3.11.0" lucide-dioxus = "3.11.0"
serde = { version = "1.0.228", features = ["derive"] }
thiserror = "2.0.18"
tracing = "0.1.44" tracing = "0.1.44"
[features] [features]

3
src/build.rs Normal file
View File

@@ -0,0 +1,3 @@
fn main() {
println!("cargo:rerun-if-changed=migrations");
}

View File

@@ -5,6 +5,7 @@ pub mod components;
pub mod models; pub mod models;
pub mod pages; pub mod pages;
pub mod schema; pub mod schema;
pub mod util;
#[cfg(feature = "server")] #[cfg(feature = "server")]
pub mod server; pub mod server;

1
src/util/mod.rs Normal file
View File

@@ -0,0 +1 @@