Skip to main content

environment

Function environment 

Source
pub fn environment(ctx: &Context) -> Result<Environment<'static>, String>
Expand description

A Jinja environment with everything core’s templates read: var(), run.*, target.name, the date functions and the number filters. Undefined values are errors. The caller adds its loader, escaping and its own filters.