Add build script for diesel_migrations

This commit is contained in:
2026-06-18 21:27:30 -04:00
parent fbe13f8d49
commit 78f528ff77
2 changed files with 4 additions and 0 deletions

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" ] }

3
src/build.rs Normal file
View File

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