Hacker News new | ask | show | jobs
by leshow 2755 days ago
AFAIK Rocket has always been focused on developing an ergonomic type safe API to building web applications. Many things it depends on, codegen, proc macros, that sort of thing, are yet to be stabilized. I'm not affiliated with the project, this is just what I've read about it.

There are other frameworks you can use if you want to use stable, many of them are async already. Granted, none are really 'mature', but this is a new-ish space for Rust anyway.

1 comments

Most of that stuff is now stable; the major thing it’s waiting on is a fairly technical detail that gives Rocket more informative errors. If Sergio was willing to regress a bit there, it could be on stable, in my understanding. But developer experience is kind of the whole point, so he’s making the call to wait longer.

(EDIT: I just reviewed the flag list and I am 99% sure this is true; the never type could use a library instead, and I am pretty (but not %100) sure proc_macro_hack could fix the other one. It’s quite possible I’m wrong, but in the end, it’s still basically three features left to go.)