(And no, I'm not going to build *yet another* framework. I refuse :P)
-
-
Show this thread
-
Update: found a web framework I like! (by
@withoutboats
)
It feels very Rust-like; making use of the language rather than trying to bend it into a different shape.
Excited to try this out sometime!
https://cargonauts-rs.github.io/cargonauts Show this thread -
(Also disclaimer that it's not been updated in a while, and I believe that the author is busy making lots of other things happen. Even still: this direction is super exciting, and shows off what Web Apps in Rust could look like!)
Show this thread -
Oh, I should probably expand a little on what "Rust-like" means to me. A lot of my fave Rust modules start off by defining a struct, and then strapping a rocket onto it. Serde gives you arbitrary data conversions in 1 line. Structopt does the same for full CLIs w/ help and all
Show this thread -
Cargonauts feels similar. You start off by defining the shape of your data first. Then you add behavior to it through methods. And finally you map the data and methods to a REST API in a central place. It feels real clean & easy to reason about. Very little else is needed!
Show this thread
End of conversation
New conversation -
-
-
haha, yeah that's what I thought :P
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
ahaha. Tbh I'm impressed by how well everyone in the Rust ecosystem collaborates tho! It's so good :D
End of conversation
New conversation -
-
Nickel is my current choice, feels like I am writing similar levels of boilerplate to a express app. Though I am interested in looking at conduit though the readmes are lacking atm
-
Ohh, I've got feels about Conduit. Might indeed stick with Nickel as a temporary solution, haha. Got a gut feeling that once we get async/await things will start to spice up a little :D
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.