Skip to content

chore(deps): vendored timsrust takes zstd 0.14.3; drop the zstd audit ignores (#329) - #408

Merged
RobbinBouwmeester merged 5 commits into
mainfrom
chore/audit-329-upgrades
Dec 1, 2026
Merged

RobbinBouwmeester merged 5 commits into
mainfrom
chore/audit-329-upgrades

Conversation

@RobbinBouwmeester

Copy link
Copy Markdown
Member

Refs #329. Removes the thirteen zstd advisory ignores of cargo audit by patching the vendored timsrust, without changing what the diaPASEF reader writes.

What changes

  • rust/mumdia/vendor/timsrust/Cargo.toml: zstd = "0.13.2" -> "0.14.3". The reader calls only zstd::decode_all, whose signature 0.14 keeps; no Rust source changes. Both zstd versions link the same zstd-sys 2.1.2+zstd.1.5.7, so the same C library decodes the frames.
  • Cargo.lock: one zstd (0.14.3 / zstd-safe 8.2.0) instead of two.
  • ci/cargo_audit.sh: RUSTSEC-2026-0391 and -0395 to -0406 no longer ignored.
  • Docs (docs/04_convert.md, docs/14_build_test_deploy_gotchas.md), the regenerated THIRD_PARTY_LICENSES.md and sbom.cdx.json, and a CHANGELOG [Unreleased] Security entry.

Why not timsrust 0.6.8

The issue expected timsrust >= 0.6 to bring zstd >= 0.14.3. It does not: timsrust-tdf 0.6.8 still requires zstd ^0.13, and its filemanager requires rusqlite ^0.35, which would bring back RUSTSEC-2026-0459 and conflicts with our libsqlite3-sys.

Byte identity on real data

mumdia convert --threads 32 with origin/main (ea3b1f4) and this branch, thestral, SHA-256 of every output:

run data files identical .report.json
timsTOF Pro, 200 pg (..._DIA_2_1_3989.d) 4 yes differ only in elapsed_ms
timsTOF Ultra 2, E. coli 50 ng (LFQ_Ultra2_diaPASEF_15min_50ng_Ecoli_01.d) 4 yes differ only in elapsed_ms

MUMDIA_BENCH_TDF=<run.d> cargo test -p mumdia -- --ignored tdf_real passes with both binaries on both runs.

Validation (Windows)

fmt, clippy --workspace --all-targets --locked -D warnings, cargo test --workspace --locked (1186 passed, 18 ignored), cargo build --release --locked, bash ci/cargo_audit.sh on both lockfiles: all pass.

Still open in #329

  • The thermo feature chain: the vendored nethost-sys patch (zip >= 9.0.5) stays. mzdata 0.69.0 pins thermorawfilereader =0.8.2, which still requires netcorehost ^0.18 (nethost-sys 0.7.x); netcorehost 0.23 / nethost-sys 0.9 would fix it, but nothing in that chain reaches them yet. cargo check --features thermo was not run.
  • RUSTSEC-2026-0595 (parquet Bloom filters in encrypted files) stays ignored: parquet is built without encryption. Unrelated to Track ignored cargo audit advisories (zip via nethost-sys, zstd via timsrust) #329.
  • chrono RUSTSEC-2026-0543 stays a warning.

🤖 Generated with Claude Code

RobbinBouwmeester and others added 2 commits December 1, 2026 09:07
… ignores (#329)

The diaPASEF reader's zstd 0.13.3 / zstd-safe 7.3.0 carried RUSTSEC-2026-0391 and
-0395 to -0406. timsrust 0.6.8 does not fix them (timsrust-tdf 0.6.8 requires zstd
^0.13, and its filemanager still requires rusqlite ^0.35), so the vendored timsrust
0.4.2 manifest asks for zstd 0.14.3, the fixed release parquet already uses. The
reader calls only zstd::decode_all, whose signature is unchanged; no Rust source
changes. Both zstd versions link the same zstd-sys (one C libzstd).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@RobbinBouwmeester
RobbinBouwmeester marked this pull request as ready for review December 1, 2026 09:36
@RobbinBouwmeester
RobbinBouwmeester merged commit cb523bb into main Dec 1, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant