zinal 0.2.1

HTML templating library for Rust programs
docs.rs failed to build zinal-0.2.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: zinal-0.1.0
Zinal is a HTML template rendering library for rust programs. # Example ```rust use zinal::*; #[derive(Template)] #[template(content = "
We greet the following people:
    <# for name in &self.names #> <#end>
")] struct Greetings { names: Vec } #[derive(Template)] #[template(content = "
  • {{self.name}}

  • ")] struct Person<'a> { name: &'a str, } let greetings = Greetings { names: vec!["Mary".to_owned(), "John".to_owned(), "Kate".to_owned(), "Agnes".to_owned()] }; println!("{}", greetings.render_to_string().unwrap()); // Prints (possibly with some insignificant whitespace differences): //
    We greet the following people:
    //
      //
    • Mary

    • //
    • John

    • //
    • Kate

    • //
    • Agnes

    • //
    ```