Crate rempl

source ·
Expand description

Rempl is a simple toolkit for creating html components directly within your rust code. The intended purpose is to use this library for HTML templating.

The main things to look at are the html and component macros.

All of the HTML structs (HtmlTerm, HtmlElement, HtmlNode) can be turned into a html string simply be using the std::fmt::Display trait.

Macros§

  • Allows you to write html directly within your source file.

Structs§

Enums§

  • A rust native description of a html term.

Attribute Macros§

  • Allows you to create a component which can be called as a new HTML tag