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);
}