Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 296 Bytes

README.md.skt.md

File metadata and controls

15 lines (12 loc) · 296 Bytes
extern crate hogan;
#[macro_use]
extern crate serde_json;

fn main() {{
  let handlebars = hogan::transform::handlebars();

  {}

  let rendered = handlebars.render_template(template, &config);
  assert!(rendered.is_ok());
  assert_eq!(&rendered.unwrap(), transformed);
}}