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
This is the decompression path we hardened in #107 and #108, so it needs a careful review rather than a plain bump.
Work
src/compression/zstd.rs: check zstd::stream::read::Decoder::with_buffer, the decoder window-log cap (2^27 bytes), copy_encode, and the output cap DEFAULT_MAX_DECOMPRESSED_SIZE (64 MiB) / decompress_with_limit.
src/error.rs: CasError::DecompressionLimitExceeded mapping stays the same. The CasError code mapping is an append-only ABI contract.
Update the version-floor comment in Cargo.toml (it refers to RUSTSEC-2026-0391/0398/0403/0410 via zstd-safe 7.4.2 / zstd-sys 2.2.0) to describe the new floor.
Tests: decompression-bomb and limit tests still pass, and frames compressed by 0.7.0 still decompress.
Acceptance criteria
cargo build --release --locked and cargo test --release --locked pass on Linux, Windows and macOS.
NIST/FIPS KATs in tests/data/ and the Wycheproof tests still pass.
docs/EXAMPLES.md updated if any public signature changes.
PR title follows Conventional Commits (chore(deps): …, or feat!: / fix!: if the public API breaks). Don't bump the crate version or edit CHANGELOG.md by hand.
Activity