refactor: change asset handling

read assets from the template state instead of path to be able to embed
them into the binary instead of reading them form a path
This commit is contained in:
Alexander Navarro 2025-03-12 12:46:18 -03:00
parent 3ff1f26cc4
commit 1871610770
4 changed files with 53 additions and 9 deletions

View file

@ -9,6 +9,7 @@ axum-htmx = { version = "0.7.0", features = ["auto-vary", "serde", "guards"] }
axum-sqlx-tx = "0.10.0"
chrono = { version = "0.4.39", features = ["serde"] }
figment = { version = "0.10.19", features = ["env", "toml"] }
mime_guess = "2.0.5"
minijinja = { version = "2.7.0", features = ["loader"] }
minijinja-embed = "2.7.0"
notify = "8.0.0"