I published my first #Rust crate: https://github.com/Pitasi/rscx. This continues my vision for a nice HTML templating engine for Rust. There are no docs yet but I'm working on it, check out the examples folder for now.
I believe to have reached the same DX of Leptos and the same performance of Maud (= macro outputs static strings when possible).
Also, every component is an async function that returns a String. No black boxes, it's format!() on steroids.
If you try it and you don't understand how to do something, or something doesn't work the way you expect, please file an issue on GitHub :)
This will help shaping docs and smoothing rough edges.
if you read this far, I have a second #Rust crate in progress, this time generating #CSS. It's really an early draft but check out https://github.com/Pitasi/csm/blob/main/csm/examples/recipes.rs and the other examples in the folder.
My goal is:
- remove the second build step that involves Tailwind, do everything in Rust
- fix some #Tailwind rough edges, of you know CSS you shouldn't need to learn anything else. But there will also be common shorthands such as "p" or "bg".