render_template

Function render_template 

Source
pub fn render_template(template: &str, vars: &TemplateVars) -> String
Expand description

Render template by replacing {{key}} placeholders with values in vars.

This is intentionally simple and avoids complex templating logic.