# Hust Hust is an HTML-first way to embed Rust in HTML. ## This Crate This crate is for using hust in your projects. ## Usage Use a .hust file like so: ``` let result = include_hust!("test.hust"); ``` Imagine your file looks like: ```
Hello from Hust!
<%= variable_name %> ``` The file will be converted to rust code that looks like the below, which will be inserted in place where the macro is run. ``` let output_buffer = String::new(); output_buffer.push_str("Hello from Hust!
\n\r"); output_buffer.push_str(variable_name); output_buffer ``` This code is then inlined right where you called the macro. ## Example Hust ```