feature: Use `serde_cbor` for network message encoding.
rajarshimaitra opened this issue · comments
Raj commented
Currently the library uses serde_json
for encoding protocol messages. Which is useful for logging and debugging, but inefficient for network messages.
Network messages can be encoded in serde_cbor
for more optimal encoding and logging can still use serde_json
.