libserialize is used by the Rust compiler for serializing/deserializing internal data structures. Those encoding/decoding are used in various libraries mostly for incremental compilation. Also, internal features of the compiler such as
libserialize when implementing the extension. In few words, Rust compiler is deeply tied to libserialize (553 results in 96 files for
libserialize is based on the
libserialize crate which has been deprecated now for
serde crate. This means that all update are mostly done internally by the compiler team for
libserialize and might not take advantages of the last improvements and bugs correction from
serde crate. There is this PR that gives some highlight of the reasons why it has not been done before.
In this post, I would like to explore the idea, pros and cons of replacing
libserialize with crates such as
serde_json so I'm very interesting to any comments, feedback or ideas.