Setup static folders, askama templates, switch exe_with_key to Executable impl

This commit is contained in:
2024-12-22 00:36:25 -06:00
parent 671d3eebea
commit 29d5e5247b
4 changed files with 228 additions and 18 deletions

View File

@@ -4,7 +4,8 @@ version = "0.1.0"
edition = "2021"
[dependencies]
salvo = { version = "0.74.3", features = ["affix-state", "logging"] }
askama = "0.12.1"
salvo = { version = "0.74.3", features = ["affix-state", "logging", "serve-static"] }
tokio = { version = "1", features = ["macros"] }
tracing = "0.1"
tracing-subscriber = "0.3"