# Sweet

<div align="center">

  <p>
    <strong>Tools for reactive structures in rust</strong>
  </p>

  <p>
    <a href="https://crates.io/crates/sweet"><img src="https://img.shields.io/crates/v/sweet.svg?style=flat-square" alt="Crates.io version" /></a>
    <a href="https://crates.io/crates/sweet"><img src="https://img.shields.io/crates/d/sweet.svg?style=flat-square" alt="Download" /></a>
    <a href="https://docs.rs/sweet"><img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square" alt="docs.rs docs" /></a>
  </p>

  <h3>
    <!-- <a href="https://mrchantey.github.io/sweet/docs">Book</a> -->
    <!-- <span> | </span> -->
    <a href="https://docs.rs/sweet">API Docs</a>
    <!-- <span> | </span> -->
    <!-- <a href="https://mrchantey.github.io/sweet/docs/other/contributing.html">Contributing</a> -->
  </h3>

  <sub>made with ❤️‍🔥 by mrchantey</a></sub>
</div>


Sweet RSX enables smokin' hot reloads by splitting the rust code from the html, and only recompiling on code changes.




## References

- [yew mdx](https://implfuture.dev/blog/rewriting-the-modern-web-in-rust)
	- [code](https://github.com/kcking/yew/blob/mdx/packages/yew-macro/src/mdx/mod.rs)

