If you add the new micro frameworks and Rails/Django-like frameworks to the pre-existing Flask-like frameworks (Actix, Axum, etc.), then you can see that the web backend development story in Rust is really starting to feel robust.
Rust is a fantastic language to write backend logic in. It's incredibly fast and can serve thousands of requests per second from the tiniest VMs.
The language has the right abstractions, is not difficult to write (it's similar to writing Golang or Java), and results in code with far fewer defects.
It also has a db! macro that lets you write sql and it maps it to rust structs and fns, I've made some improvements to the macro here https://github.com/swlkr/static_sqlite
I had a quick look. Looks fine at first glance, will try it out for a project of mine. I planned to use axum anyway.
One suggestion: You should tell in about two or three short sentences in Readme.md how it extends axum, especially what it did to destroy the boilerplate of axum.
With the right script, castled macros avoid string-preprocessing in generated expandable linguistic syntactical trees. One of the three languages incorporated in Linux Kernel development as well.
Two Rust web frameworks in one day!
If you add the new micro frameworks and Rails/Django-like frameworks to the pre-existing Flask-like frameworks (Actix, Axum, etc.), then you can see that the web backend development story in Rust is really starting to feel robust.
Rust is a fantastic language to write backend logic in. It's incredibly fast and can serve thousands of requests per second from the tiniest VMs.
The language has the right abstractions, is not difficult to write (it's similar to writing Golang or Java), and results in code with far fewer defects.
Rust is a great place to be for web development.
I like that this one has a JSX-like macro `html! { <div>{var}</div> }` syntax. Today's other one, `rwf` uses strings.
It also has a db! macro that lets you write sql and it maps it to rust structs and fns, I've made some improvements to the macro here https://github.com/swlkr/static_sqlite
Yes, the syntax is much more friendly.
The related submission:
rwf: Rust Web Framework - https://news.ycombinator.com/item?id=41914544 (October 2024, 179 comments)
It really is, axum is great by itself, but it's always nice to have a few nice-to-haves on top
I had a quick look. Looks fine at first glance, will try it out for a project of mine. I planned to use axum anyway.
One suggestion: You should tell in about two or three short sentences in Readme.md how it extends axum, especially what it did to destroy the boilerplate of axum.
will do, it definitely needs some documentation tlc
With the right script, castled macros avoid string-preprocessing in generated expandable linguistic syntactical trees. One of the three languages incorporated in Linux Kernel development as well.