Skip to content

v0.10.9

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Apr 14:09
· 51 commits to main since this release
78e9aca

BMP messages SDK improvements

  • expose all pub structs and enums for BMP messages
    • this allows users to access struct definitions and operate on them directly
  • added Copy to BmpMsgType, BmpPeerType and BmpPerPeerHeader, PerPeerFlags, BmpPeerType
  • implemented Default, PartialEq, Eq and Hash for BmpPerPeerHeader
    • this allows users and compare and hash BmpPerPeerHeader structs
    • also implemented .strip_timestamp() to remove the timestamp from the BmpPerPeerHeader struct for cases where
      the timestamp is not needed
  • rename MessageBody to BmpMessageBody
  • derive Clone, PartialEq to BmpMessage and MessageBody
  • added serialization/deserialization support for BmpMessage and BmpMessageBody