Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

0.5.0

Choose a tag to compare

@Jake-Shadle Jake-Shadle released this 27 Feb 10:23
· 1 commit to main since this release

Changed

  • PR#15 renamed UdpPacket -> UdpHeaders, and changed the contents to be the actual headers that can be de/serialized from/to the packet buffer.
  • PR#15 moved to edition 2024.

Added

  • PR#15 added various utility methods to the types in net_types.
  • PR#15 added Debug impls for various types gated behind the __debug feature since they are mainly only for internal testing.
  • PR#15 added miri checking to CI, resolving #13.

Fixed

  • PR#15 fixed an issue where UDP checksum calculation could be incorrect depending on the input data.

Removed

  • PR#15 removed the Packet::item_at_offset and Packet::item_at_offset_mut methods as they had undefined behavior, replaced by the read and write methods.
  • PR#15 removed Packet::slice_at_offset and Packet::slice_at_offset_mut in favor of just letting the user use Deref/DerefMut.