Henauxg / bevy_quinnet

A Client/Server game networking plugin using QUIC, for the Bevy game engine.
Apache License 2.0
251 stars 16 forks source link

Serialisation options #18

Open tbillington opened 11 months ago

tbillington commented 11 months ago

Hey, just wondering how strongly you're tied to bincode?

I've been using bitcode in my project and it has nice size benefits over bincode but it does use it's own serialisation traits, not the ones from serde. Theoretically.. would you be open to a PR for an optional feature that enabled the use of bitcode?

Henauxg commented 11 months ago

I am not strongly tied to bincode. It was just a good "by default" option. In fact I still had plans to investigate a switch to postcard as a default serializer/deserializer and, in the process, see how to allow for more custom defined ones. As such, I am not against a PR that would add bitcode support, it seems like a great alternative.