Hacker News new | ask | show | jobs
by sph 1312 days ago
Looks nice. But I'm not sure why the router needs to be a macro.

What's wrong with

    router.get("/foo", |req, res| -> Response {
      ...
    });
1 comments

Sorry, a better link would have been https://lunatic.solutions/blog/rust-without-the-async-hard-p... Just wanted to comment on the async part that interesting solutions are being developed.