origami-engine

Crates.ioorigami-engine
lib.rsorigami-engine
version0.1.3-alpha.7
sourcesrc
created_at2024-08-19 12:51:04.001096
updated_at2024-10-10 15:03:07.856358
descriptionA templating engine for rust
homepage
repositoryhttps://github.com/ratnaraj7/origami-engine
max_upload_size
id1343854
size45,476
(ratnaraj7)

documentation

README

origami-engine

Origami Engine is a templating engine focused on modularity, designed for efficient HTML generation with powerful macros.

Features

  • Focused on modularity for easy extensibility
  • Support for expressions, conditionals, loops, and match expressions

Basic Example

use origami_engine::comp;

comp! {
    greeting =>
    div {
        "Hello, World!"
    }
}

let html = greeting!();
assert_eq!(html.0, "<div>Hello, World!</div>");

Documentation

For comprehensive documentation and usage instructions, please visit docs.rs.

License

This project is licensed under the MIT License or the Apache License 2.0. See the LICENSE-MIT and LICENSE-APACHE files for details.

Commit count: 158

cargo fmt