1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#![allow(dead_code)]

#![cfg_attr(feature = "dev", allow(unstable_features))]
#![cfg_attr(feature = "dev", feature(plugin))]
#![cfg_attr(feature = "dev", plugin(clippy))]

extern crate serde;
extern crate serde_json;
extern crate glob;

mod errors;
mod lexer;
mod nodes;
mod parser;
mod context;
mod render;
mod template;
mod tera;


// Library exports
// Template is not meant to be used in your code, only there for bench/test of
// tera itself
pub use template::Template;
pub use context::Context;
pub use tera::Tera;
pub use errors::{TeraResult, TeraErrorType};