1#[cfg(feature = "async")]
7pub mod r#async;
8pub mod builder;
9pub mod cache;
10pub mod context;
11pub mod custom;
12pub mod debug;
13pub mod determinism;
14pub mod discovery;
15pub mod error;
16pub mod functions;
17pub mod renderer;
18pub mod simple;
19pub mod toml;
20pub mod validation;
21pub use builder::TemplateEngineBuilder;
25pub use cache::{CachedRenderer, TemplateCache};
26pub use context::TemplateContext;
27pub use custom::{
28 register_custom_filter, register_custom_function, CustomFilter, CustomFunction,
29 FunctionRegistry,
30};
31pub use debug::{DebugInfo, TemplateAnalyzer, TemplateDebugger};
32pub use determinism::DeterminismConfig;
33pub use discovery::{TemplateDiscovery, TemplateLoader};
34pub use error::{Result, TemplateError};
35#[cfg(feature = "async")]
36pub use r#async::{async_render, async_render_file, async_render_with_json, AsyncTemplateRenderer};
37pub use renderer::{
38 get_cached_template_renderer, is_template, render_template, render_template_file, OutputFormat,
39 TemplateRenderer,
40};
41pub use simple::{
42 quick, render, render_file, render_to_format, render_with_context, render_with_json,
43 TemplateBuilder,
44};
45pub use toml::{TomlFile, TomlLoader, TomlMerger, TomlWriter};
46pub use validation::{SchemaValidator, TemplateValidator, ValidationRule};
47pub const MACRO_LIBRARY: &str = include_str!("_macros.toml.tera");