hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

9.3K
active users

I published my first crate: 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.

GitHubGitHub - Pitasi/rscx: Rust Server Components. JSX-like syntax and async out of the box.Rust Server Components. JSX-like syntax and async out of the box. - GitHub - Pitasi/rscx: Rust Server Components. JSX-like syntax and async out of the box.

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.

zaphodias

if you read this far, I have a second crate in progress, this time generating . It's really an early draft but check out github.com/Pitasi/csm/blob/mai and the other examples in the folder.

My goal is:
- remove the second build step that involves Tailwind, do everything in Rust
- fix some 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".

GitHubcsm/csm/examples/recipes.rs at main · Pitasi/csmcascading style macros. Contribute to Pitasi/csm development by creating an account on GitHub.