Skip to content

v0.11.0

Compare
Choose a tag to compare
@zonyitoo zonyitoo released this 29 Mar 02:24
· 6 commits to master since this release
d961861

BREAKING Changes

  • #54 Make PacketType the size of u8
  • #53 Remove the concept of packet payloads from the public API
  • #52 Refactored Packet trait, replaced with DecodablePacket
    • Splits Packet into EncodablePacket and DecodablePacket
    • Removes default payload() and payload_ref() methods
    • Fixes encoded_length() implementations for all packets
    • Add PublishPacketRef for performance optimization

Features

  • Add a tokio_util::codec::Encoder/Decoder implementation