Repository navigation
chore(deps): security update – cargo deps, zip 9.0.5 + audit fixes - #18
Merged
Merged
Conversation
Satisfies clippy::chunks_exact_to_as_chunks on Rust 1.99.
Refresh Cargo.lock (semver-compatible bumps) and move zip 8.6 -> 9.0.5, which fixes RUSTSEC-2026-0367/0368/0369. Also resolves RUSTSEC-2026-0346/0285/0348/0349 (rustls), RUSTSEC-2026-0382 (rustls-webpki) and RUSTSEC-2026-0381 (webpki-roots).
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.
Cargo deps refreshed:
cargo auditgoes from 11 → 2 vulnerabilities, and the full local gate is green.🔧 Runtime (before → after)
rust-toolchain.toml,mise.toml,.tool-versionsor Dockerfile). CI uses rollingrustup update stable, so nothing changed. Verified locally on current stable 1.99.1 (2026-10-13;rustup check: up to date).rust-versiondeclared, and the effective floor is unchanged. It is already 1.92 via typst 0.15.1; the newas_chunkscall needs 1.88.📦 Libs bumped: 126 crates (+8 added, −2 removed)
zip8.6.0 → 9.0.5 (major, non-breaking for md2pdf: write-only, explicit Deflate; archives checked for CRC, method, timestamps and modes)clap4.6.4 → 4.6.7 ·globset0.4.19 → 0.4.20 ·thiserror2.0.19 → 2.0.21 ·tokio1.53.1 → 1.54.0rustls0.23.43 → 0.23.46 ·rustls-webpki0.103.13 → 0.103.16 ·webpki-roots1.0.9 → 1.0.10src/markdown.rs.chunks_exact(2)becomesas_chunks::<2>()for the new Clippy 1.99 lintchunks_exact_to_as_chunks. Behaviour is identical: a trailing odd value is dropped in both versions.🛡️ Vulnerabilities
Fixed (9):
chacha20warning is also gone.Remaining (2), blocked upstream:
quick-xml 0.38.4. Path:citationberg 0.7.0←hayagriva 0.10.1←typst-library 0.15.1.^0.38.1.render_to_bytesAPI accepts arbitrary Typst, which could use a custom CSL bibliography, so the advisory still applies to the dependency.Unmaintained warnings (6, all transitive via typst / syntect): bincode, paste, rustybuzz, ttf-parser, unsafe-libyaml, yaml-rust.
⏭️ Majors deferred (follow-ups)
ureq2.12.1 → 3.4.2: API and TLS config changeslopdf0.44.0 → 0.46.0typst-as-lib0.16.0 → 0.17.0: sametypst ^0.15requirement, API changes not assessed yettikv-jemallocator0.6.1 → 0.7.0✅ Local verification (rustc 1.99.1, macOS arm64)
cargo update --dry-run: 0 packages left to lockcargo fmt --check: ✅cargo clippy --all-targets --locked -- -D warnings: ✅cargo test --locked: ✅ 55 unit + 26 CLI tests passed. The network/HTTPS image tests ran and passed.RUSTDOCFLAGS='-D warnings' cargo doc --no-deps --locked: ✅cargo build --release --locked: ✅cargo run --release --locked -- example.md --output /tmp/md2pdf-example.pdf: ✅ 2-page PDFcargo audit: 2 vulnerabilities (quick-xml, see above), 6 warnings🔎 Sol review verdict
APPROVE (round 1), GPT-6.1-Sol (reasoning: medium), with independent re-runs of the gate, audit and zip compatibility checks. Its two wording fixes (typst-as-lib rationale, quick-xml reachability scope) are applied in this description.