hypertext
A blazing fast type-checked HTML macro crate.
Features
- Type checking for element names/attributes
#![no_std]
support- Automatic escaping
- Extremely fast, using lazy rendering by default to avoid unnecessary allocations
- Support for two well-known HTML macro syntaxes,
maud
andrsx
#![forbid(unsafe_code)]
across the entire codebase- Integration with all major web frameworks, enabled by their respective feature flags
Projects Using hypertext
- vidhan.io (my website!)
Make a pull request to list your project here!
Example
use *;
let shopping_list = ;
let shopping_list_maud = maud!
.render;
// or, alternatively:
let shopping_list_rsx = rsx!
.render;