feat: Add embed and noembed feature flags for HTTP assets/templates
This commit is contained in:
parent
dba07912d2
commit
1bbdb04dc9
5 changed files with 88 additions and 9 deletions
4
build.rs
Normal file
4
build.rs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
fn main() {
|
||||
#[cfg(feature = "embed")]
|
||||
minijinja_embed::embed_templates!("templates");
|
||||
}
|
||||
Loading…
Reference in a new issue