mirror of
https://github.com/freemkv/libfreemkv.git
synced 2026-10-07 18:13:10 +00:00
Lower the crate MSRV from 1.97 to 1.94 -- the lowest toolchain on which `cargo build`, `cargo clippy --all-targets -D warnings`, and `cargo test --tests` all pass clean. Dependencies floor the build at 1.90 (freemkv-unlock 1.90, zip 1.88), but clippy is only warning-clean from 1.94 (older clippy has a `duplicated_attributes` false positive on `#![cfg(test)]` and flags a now-documented `let_and_return`). Update `rust-version` and every `dtolnay/rust-toolchain` CI pin to 1.94.0, and add a CHANGELOG Unreleased entry. Extend the byte-provenance coverage added inf7d38ca(currently one TS-path test) with two PS-path tests driving the real `Mpeg2Parser`: - `ps_stream_stamps_source_provenance`: the PS path forwards `ps.source` onto `PesPacket`, so demuxed frames carry `Some(SourcePos)`. - `ps_stream_carries_feed_base_across_reads`: the cumulative `fed_bytes` base carries ACROSS read buffers -- a frame decoded from the second sector is stamped `source.byte >= 2048`, not reset per read. Also record thef7d38caprovenance fix in the CHANGELOG, inline a `let_and_return` test binding, and trim a redundant sentence from `PsDemuxer::feed_at`'s doc comment.