askama/askama_macros
René Kijewski e80b710f67 derive: add feature to disable all file system access
If you want to fuzz the code generator, it's essential that no local
files are accessed, e.g. through `{% import %}`.

This DOES NOT mean that the generated code is safe; this is not a
sandbox. The generated code can still contain

* evil compile-time code: `{{ include_str!("/etc/passwd") }}`
* evil runtime code: `{{ std::fs::remove_dir_all("/home/user") %}`

But during the code generation nothing potentially bad should happen.
2025-05-17 23:08:27 +02:00
..

askama_macros: procedural macros for the Askama templating engine

Crates.io GitHub Workflow Status Book docs.rs

This crate contains the procedural macros used by the Askama templating engine.