Skip to content

buf-list 1.1.0

Choose a tag to compare

@github-actions github-actions released this 29 Sep 20:52
· 7 commits to main since this release

Changed

  • With Cursor::read_exact, if there aren't enough bytes remaining, the position will be set to the end of the buffer. This mirrors the same behavior change in std::io::Cursor introduced in Rust 1.80 (see rust-lang/rust#125404).
  • MSRV updated to Rust 1.70.
  • Internal improvement: computed start positions for chunks are now stored in a OnceLock on the BufList rather than being recomputed each time a Cursor is constructed. In the case where there might be many Cursor instances on the same &BufList, this allows for start positions to be shared. Thanks to inanna-malick for your first cntribution!

Fixed

  • Replaced obsolete doc_auto_cfg with doc_cfg, to fix Rust nightly builds with the doc_cfg flag enabled.