HTTP frameworks in Rust so far: On the one side there's the batteries-included, nightly only, framework that requires compiler plugins to work. On the other side there's sparse, build-your-own-framework kits. Lots of boilerplate. I'm waiting for the middleground.
-
-
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 -
-
-
Disclaimer that it currently doesn’t work I believe. Hoping to return to it eventually after several higher priority projects are finished
-
Ah thanks for the heads up! I'll be keeping an eye out if it ever gets an update. Really digging the API design!
End of conversation
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.
)
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!