A macro-based html builder for rust
Horrorshow is a macro-based HTML templating library that is compatible with stable Rust. It requires Rust version 1.48 or higher. The library is designed to degrade gracefully when compiled without the standard library (std) or the allocation library (alloc).
std or alloc, and it will still function, albeit with some limitations.alloc library, the Template::write_to_io() method is available for rendering templates to an output stream.core library, the RenderBox type is not available, and only the Template::write_to_fmt() method for rendering templates to a formatted string is available.HTML templates are pre-designed and pre-built web pages that can be customized and used as a basis for building websites. They often include common elements such as headers, footers, menus, and content sections, and can be easily edited using HTML and CSS to fit specific branding and content needs.