1.2.1

This patch release removes more unnecessary uses of unsafe that were overlooked in the prior 1.2.0 release. In particular, the ReadBytesExt::read_{f32,f64}_into_checked methods have been deprecated and replaced by more appropriately named read_{f32,f64}_into methods.

1.2.0

The most prominent change in this release of byteorder is the removal of unnecessary signaling NaN masking, and in turn, the unsafe annotations associated with methods that didn't do masking. See #103 for more details.

1.1.0

This release of byteorder features a number of fixes and improvements, mostly as a result of the Litz Blitz evaluation.

Feature enhancements:

  • FEATURE #63: Add methods for reading/writing slices of numbers for a specific endianness.
  • FEATURE #65: Add support for u128/i128 types. (Behind the nightly only i128 feature.)
  • FEATURE #72: Add “panics” and “errors” sections for each relevant public API item.
  • FEATURE #74: Add CI badges to Cargo.toml.
  • FEATURE #75: Add more examples to public API items.
  • Add 24-bit read/write methods.
  • Add BE and LE type aliases for BigEndian and LittleEndian, respectively.

Bug fixes:

  • BUG #68: Panic in {BigEndian,LittleEndian}::default.
  • BUG #69: Seal the ByteOrder trait to prevent out-of-crate implementations.
  • BUG #71: Guarantee that the results of read_f32/read_f64 are always defined.
  • BUG #73: Add crates.io categories.
  • BUG #77: Add html_root doc attribute.