pub fn template_format(template: &str, vars: &[(&str, &str)]) -> String
A simple string formatter that supports {name} template substitution.
{name}
Substitutes {key} with the provided value.
{key}