3 ms·
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 { ... });
by sph 4y 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 {
...
});
- lewantmontreal 4y agoSorry, a better link would have been https://lunatic.solutions/blog/rust-without-the-async-hard-part/ https://lunatic.solutions/blog/rust-without-the-async-hard-p... Just wanted to comment on the async part that interesting solutions are being developed.