Repository navigation
fix(deps): move zip to 9.5.1 - #228
Merged
Merged
Conversation
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Rust 1.100's clippy reports needless_range_loop on the span clamp in TableBuilder, which fails the Rust and Wasm jobs under -D warnings. Walk the rows and slots with iter_mut().enumerate(); behavior is unchanged. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
tebriz91
added a commit
to lawkitt/anydoc
that referenced
this pull request
Nov 17, 2026
The fork was already on zip 9; this raises the floor to 9.5.1 (lock and fuzz manifest too) and takes upstream's clippy fix: iterate the table grid instead of indexing it (needless_range_loop on newer clippy). Behaviour is unchanged. Upstream port of firecrawl/anydoc#228 (from commit e56a49bf3062c55e8d258346de4a36f4cfb59f70). Co-authored-by: mogery <mogery@sideguide.dev> Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tebriz91
added a commit
to lawkitt/anydoc
that referenced
this pull request
Nov 17, 2026
The fork was already on zip 9; this raises the floor to 9.5.1 (lock and fuzz manifest too) and takes upstream's clippy fix: iterate the table grid instead of indexing it (needless_range_loop on newer clippy). Behaviour is unchanged. Upstream port of firecrawl/anydoc#228 (from commit e56a49bf3062c55e8d258346de4a36f4cfb59f70). Co-authored-by: mogery <mogery@sideguide.dev> Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 18, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves
zipfrom 8.6.0 to 9.5.1. Five advisories affect every 8.x release, and anydoc opens caller-supplied archives throughzip::ZipArchive(src/package/archive.rs):Closes #212. #194 and #213 proposed the same move to 9.0.3 and 9.1.3; this sets the requirement at 9.5.1, so no affected version satisfies it (the floor asked for in #194).
Changes
Cargo.tomlandfuzz/Cargo.toml:zip = "9.5.1", with the samedefault-features = false, features = ["deflate"].Cargo.lock(cargo update -p zip): zip 8.6.0 → 9.5.1 and typed-path 0.12.3 → 0.13.0, plus new entries zip 9 brings in (cfg_aliases,constant_time_eq,nix,zeroize,zeroize_derive).ZipArchive,ZipWriterandSimpleFileOptionscalls compile unchanged, and zip 9.5.1 keeps the 1.88 MSRV.src/model/table.rs(separate commit): the span clamp inTableBuilderwalks rows and slots withiter_mut().enumerate()instead of indexing them. Clippy on Rust 1.100 reports the indexed loops asneedless_range_loop, which fails the Rust and Wasm jobs on any branch under-D warnings. Behavior is unchanged.Checks
On Rust 1.100:
cargo fmt --all --check,cargo clippy --workspace --all-targets --all-features -- -D warnings,cargo clippy -p anydoc-wasm --target wasm32-unknown-unknown -- -D warningsandcargo test --locked(298 passed) all pass locally.Release
Crates that depend on both anydoc and zip keep zip 8.6.0 in their lockfiles until a published anydoc carries this, because 0.2.4 requires
zip ^8.6.0. A patch release after this merges lets them drop it.