Serde is also awesome.
I'm not too fond of the crates system, though. Why do all the examples for something as simple as generating a random number involve downloading a separate crate?
@flyingpimonster Serde is amazing. I use it for the API wrappers for Parcel, and it’s really powerful.
Sometimes it can be a bit surprising though (e.g. when deserialising some fields that may be absent, but with a custom function)
@flyingpimonster, getting random numbers is one of those things that’s hard to do well. And it’s also not something everyone needs, so why should it be shipped in std? And while Rust updates regularly, why should rand’s release cycle be tied to std, or vice versa?
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.