twig 0.1.0

Twig templating engine for Rust; work in progress.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
mod core;
mod escaper;

use environment::Environment;

pub use self::core::CoreExtension;
pub use self::escaper::EscaperExtension;

/// Implement this trait to create a new Twig extension.
pub trait Extension {
    fn apply(env: &mut Environment);
}