Crate tera[][src]

Expand description

Tera

Tera is a template engine based on Jinja2 and the Django template language.

See the site for features and to get started.

Modules

Re-export some helper fns useful to write filters/fns/tests

Macros

Helper macro to get real values out of Value while retaining proper errors in filters

Structs

The struct that holds the context of a template rendering.

The Error type

Re-export Value and other useful things from serde so apps/tools can encode data in Tera types

Re-export Value and other useful things from serde so apps/tools can encode data in Tera types

The main point of interaction in this library.

Enums

The kind of an error (non-exhaustive)

Re-export Value and other useful things from serde so apps/tools can encode data in Tera types

Traits

The filter function type definition

The global function type definition

The tester function type definition

Functions

Escape HTML following OWASP

Re-export Value and other useful things from serde so apps/tools can encode data in Tera types

Re-export Value and other useful things from serde so apps/tools can encode data in Tera types

Type Definitions

Convenient wrapper around std::Result.