Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1.96 KB

CHANGELOG.md

File metadata and controls

29 lines (25 loc) · 1.96 KB

0.5.1

  • 🐛 ReadCursor::transaction closures can now return data borrowed from the input. See #12.
  • 🐛 WriteCursor::at_pos now accepts FnOnce closures. See #13.
  • 🐛 ReadCursor::transaction now restores the whole cursor on error, not just its position. See #16.
  • 📖 Documented that write transactions restore only the position, not buffer contents. Corrected the TrailingBytes::count and WriteCursor::written_since docs.
  • 🔧 Replaced the Kani proofs with link-time no_panic checks, run in CI, covering every public routine for all inputs. A test fails if a new routine is left out of the check. A canary test confirms the check still detects panics.
  • 🔧 Added round-trip property tests and a CI workflow.
  • Declared the minimum supported Rust version (1.77).

0.5.0

  • ⭐ Optimized all integer and floating point read operations using the stabilized slice::first_chunk (Rust 1.77+).
  • ⭐ Added missing symmetric big-endian read/write routines for u32, i32, f32, f64, and u48.
  • ⭐ Integrated formal verification using Kani to mathematically prove panic-freedom.
  • Strictly enforced clippy lints for panic, unwrap, expect, and indexing_slicing.
  • Updated documentation and CI badges.

0.4.0

  • ⭐ Add read_array method for const-generic fixed-size arrays.
  • ⭐ Add u64/i64 write methods (little-endian and big-endian).

0.3.0

  • ⭐ Add u128/i128 read and write support (little-endian and big-endian).
  • Document panic-free design in README.
  • Use into() instead of as for widening conversions.

0.2.0

  • Specify lints in Cargo.toml instead of lib.rs.
  • ⭐ Add method to ReadCursor to retrieve the position.
  • ⭐ Argument to read/write transaction are now FnOnce per #1.