Hey! 馃憢
Awesome library, thanks for all of the work on it.
Small issue I'm running into when trying to make a custom transport.
- The
chitchat::serialize module is marked as pub(crate), which means you can't serialize a ChitchatMessage outside of the crate.
- Additionally, since
ChitchatMessage isn't marked as Serde's Serialize/Deserialize, there's actually no way to serialize messages for a custom transport.
This seems like an easy fix unless there's a specific reason not to: just remove the pub(crate) and leave pub on chitchat::serialize.
Hey! 馃憢
Awesome library, thanks for all of the work on it.
Small issue I'm running into when trying to make a custom transport.
chitchat::serializemodule is marked aspub(crate), which means you can't serialize aChitchatMessageoutside of the crate.ChitchatMessageisn't marked as Serde'sSerialize/Deserialize, there's actually no way to serialize messages for a custom transport.This seems like an easy fix unless there's a specific reason not to: just remove the
pub(crate)and leavepubonchitchat::serialize.