Tera Template Macro
Overview
This crate provides a proc macro for the tera-hot-reload crate, allowing for easier and more efficient templating in Rust.
Usuage
Basic usuage example
use TeraTemplate;
// create static tera
pub static TERA: = new;
// Create a template
// axum::response::IntoResponse
async
Dependencies
The following dependencies are required to use this crate:
- Tera (version 1.20.0 or higher)
- syn (version 2.0.72 or higher)
- quote (version 1.0.37 or higher)
- proc-macro2 (version 1.0.86 or higher)
Contributing
If you want to contribute to this project, please feel free to create a new branch and submit a pull request. You can also check out the Tera documentation for more information on how to use the Tera template engine.
License
This crate is released under the MIT license. Please see the LICENSE file for more details.