simias / rustation

Playstation emulator in the Rust programing language
Other
555 stars 20 forks source link

Replace RustcEncodable with Serde for savestate serialization #38

Open simias opened 7 years ago

simias commented 7 years ago

At the time the savestate architecture was first implemented Serde was not yet stable. Since then it's become the de-facto serialization library for Rust, superseeding the hacky RustcEncodable/RustcEncodable.

While there's no emergency it'd be nice to move to Serde now that it's stabilized. It shouldn't be too difficult but it's quite a big change which impacts both rustation and rustation-libretro. In particular the current binary serializer would have to be ported (or rewritten). I'm not sure how straightforward that would be.