add: support a template.html file

This commit is contained in:
2025-12-17 22:53:23 -08:00
parent b2fab32d37
commit a01cda4566
4 changed files with 90 additions and 9 deletions

25
Cargo.lock generated
View File

@@ -631,6 +631,12 @@ version = "2.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
[[package]]
name = "memo-map"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38d1115007560874e373613744c6fba374c17688327a71c1476d1a5954cc857b"
[[package]]
name = "mime"
version = "0.3.17"
@@ -647,6 +653,17 @@ dependencies = [
"unicase",
]
[[package]]
name = "minijinja"
version = "2.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "12ea9ac0a51fb5112607099560fdf0f90366ab088a2a9e6e8ae176794e9806aa"
dependencies = [
"memo-map",
"self_cell",
"serde",
]
[[package]]
name = "multipart"
version = "0.18.0"
@@ -841,7 +858,9 @@ dependencies = [
"clap",
"git2",
"markdown",
"minijinja",
"rouille",
"serde",
]
[[package]]
@@ -899,6 +918,12 @@ version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ef703b7cb59335eae2eb93ceb664c0eb7ea6bf567079d843e09420219668e072"
[[package]]
name = "self_cell"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "16c2f82143577edb4921b71ede051dac62ca3c16084e918bf7b40c96ae10eb33"
[[package]]
name = "serde"
version = "1.0.228"