You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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::serialize
module is marked aspub(crate)
, which means you can't serialize aChitchatMessage
outside of the crate.ChitchatMessage
isn'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 leavepub
onchitchat::serialize
.The text was updated successfully, but these errors were encountered: