hornbeam 0.0.5

Hornbeam template engine (high-level crate for use in applications)
Documentation
// (TODO describe Hornbeam itself)
//! # What this top-level crate does
//!
//! This crate provides an abstraction layer over both the interpreter and the compile-time template
//! compiler, allowing to switch between them at will in a project
//! (or more likely: use the hot-reloadable interpreter in development and the high-performance
//! compiler for production).
//!
//! Currently this crate only supports interpreted mode.

/// Exports: make_template_manager, initialise_template_manager, render_template_string.
#[cfg(feature = "interpreted")]
mod interpreted;

#[cfg(feature = "interpreted")]
pub use interpreted::{
    is_hot_reload_enabled, lazy_static, new_template_manager, Params, TemplateError,
    TemplateManager,
};

#[cfg(feature = "formbeam")]
#[cfg(feature = "interpreted")]
pub use hornbeam_interpreter::formbeam_integration::ReflectedForm;