3 ms·
What's the deal with Serde / rustc_serialize ? I've used serde mainly because I've seen mentioned a few times and saw a thread somewhere saying it was the succe
by Keats 11y ago
What's the deal with Serde / rustc_serialize ? I've used serde mainly because I've seen mentioned a few times and saw a thread somewhere saying it was the successor of rustc_serialize.
- steveklabnik 11y agorustc_serialize was built for the compiler itself, and not really well-designed to be an external library. But it was Good Enough for a long time. Serde is the next-gen, built from the ground up to be awesome thing.
- Keats 11y agoShould there be some kind of indication of that in the crate repo or doc of rustc_serialize?
- steveklabnik 11y agoWell, it depends. Serde is still in active development, not at 1.0 yet. I don't think it's totally clear that at _this moment_, it's always better. It will be in the future, I'm just not sure that future is today. Plus, there are other serialization libraries as well, and having the official Rust docs play favorites in the ecosystem is something we try to avoid.