You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.