pub fn render_template_str<T: Serialize>( template: &str, ctx: &T, ) -> Result<String, Error>
Render an arbitrary template string using a serializable context.