#html #blazingly #macro #build #procedural #file #html-site-generator

macro html-site-generator-macro

Procedural macros for crate 'html-site-generator'. Build a html file blazingly fast in Rust

1 unstable release

0.0.1 Aug 24, 2023

#41 in #blazingly

23 downloads per month
Used in html-site-generator

Apache-2.0

4KB

html-site-generator

This crate aims to help you with creating html 'code' from Rust code.

An example how easy it is to create a div and add some children to it:

let mut div = Div::new();
div.set_class("card");

div.add_element("Name: html-site-generator");
div.add_element(LineBreak::new());
div.add_element("Languages: Rust");

Dependencies

~1.5MB
~33K SLoC