Does Rust have any DSL for web use (e.g. Rails in someways is a DSL to Ruby)?
I ask because I imagine a simplified (Rust) syntax would be more inviting to newcomers.
I ask because I imagine a simplified (Rust) syntax would be more inviting to newcomers.
[1] https://levkk.github.io/rwf/views/templates/templates-in-con...
From the ReadMe example, is there a way to use macros to simplify the following line of code:
async fn handle(&self, request: &Request) -> Result<Response, Error> {
I ask because many web developers don't come from a C/C++/Rust background - so the line above will be jarring/off-putting to many.(Awesome project btw)
Yes, I was thinking of adding a shorthand for that. Will add something soon!