Repository navigation
deps(deps): bump quick-xml from 0.41.0 to 0.42.0 in /fuzz - #532
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [quick-xml](https://github.com/tafia/quick-xml) from 0.41.0 to 0.42.0. - [Release notes](https://github.com/tafia/quick-xml/releases) - [Changelog](https://github.com/tafia/quick-xml/blob/master/Changelog.md) - [Commits](tafia/quick-xml@v0.41.0...v0.42.0) --- updated-dependencies: - dependency-name: quick-xml dependency-version: 0.42.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
…t 0.4.11 (#535) ## Summary Raises the minimum supported Rust version from 1.85 to 1.87 and takes the two dependency updates that floor was holding back: quick-xml 0.42 (#532) and earcut 0.4.11 (#531). The PartAtom reader is moved to quick-xml 0.42's `&str` API, and nine remainder checks become `is_multiple_of`, which clippy asks for once the MSRV allows it. Nothing else in the crate changes. ## Motivation Both updates need a newer compiler than 1.85. quick-xml 0.42 declares `rust-version = 1.86` (its changelog: "The MSRV has been raised to 1.86"; crates.io agrees). earcut declares no `rust-version`, but from 0.4.10 it calls `is_multiple_of`, stable from Rust 1.87 (RELEASES.md, Version 1.87.0), which is why `Cargo.toml` held it below 0.4.10 and noted "Lift the bound with the MSRV". Dependabot's own bump of that bound (to `<0.4.12`, in #531) failed the MSRV job with `use of unstable library feature unsigned_is_multiple_of`, and #532 does not compile: quick-xml 0.42 changed names, text and entity references from `&[u8]` to `&str`. Holding both indefinitely would leave the dependency graph frozen at whatever 1.85 allows. The cost of moving is small: `rvt` on crates.io has 25 downloads and no reverse dependencies (crates.io API, 2026-09-30), and Rust 1.87 was released on 2025-05-15. ## Changes - `Cargo.toml`, `rvt-py/Cargo.toml`, `tools/stream_evidence/Cargo.toml`: `rust-version = "1.87"`. `earcut = "0.4.5"` (the upper bound is gone), `quick-xml = "0.42"`. The criterion comment that named the 1.85 floor no longer does. - `Cargo.lock`, `fuzz/Cargo.lock`: earcut 0.4.11 and quick-xml 0.42.0. The checksums are the ones Dependabot wrote into the fuzz lock and equal the crates.io API's for both versions; the dependency lists are unchanged. - `src/part_atom.rs`: `e.name().into_inner()` instead of `from_utf8_lossy(e.name().as_ref())`, `a.key.into_inner() == "scheme"` instead of a byte comparison, and text and entity references read through the events' `Deref<Target = str>` (`decode()` was removed). `normalized_value`, `resolve_char_ref` and `resolve_predefined_entity` keep their signatures, and an entity reference's content is still the bare name (`amp`), as quick-xml's own doc example for `BytesRef` shows. - `src/elem_table.rs`, `src/element_record_plan_profiles.rs`, `src/geometry/recovery.rs`, `src/ifc/gltf.rs`, `src/native_saved_mesh.rs`, `src/transmission_data.rs`: nine `x % n == 0` checks on unsigned integers become `x.is_multiple_of(n)`, each exactly the replacement clippy's `manual_is_multiple_of` printed on this pull request's first run (the lint applies from `rust-version` 1.87; the divisors are non-zero literals, so `is_multiple_of` and `%` agree). - `.github/workflows/ci.yml`: the MSRV job builds on 1.87, so its check name is now `build + real files / ubuntu-latest / 1.87` (not a required check). - README, CONTRIBUTING, RELEASE, AGENTS, `docs/install.md`, `docs/python.md`, `docs/benchmarks.md`, `.cursor/install.sh`, the bug report form's placeholder and the witness crate's comment: 1.87. - `docs/maintaining.md`: a section on how the MSRV moves and what to do with a Dependabot pull request that fails the MSRV job. - `CHANGELOG.md`. ## Testing No product logic changes; the evidence is the build and the measurements on the runners, taken at 3561238. The branch was then brought up to date with `main`, which added only the audit tool's fix (#536), a docs table (#537) and their changelog line, and its required checks ran again. - [x] Every check passes at 3561238, required or not: the MSRV job on 1.87 (`build + real files / ubuntu-latest / 1.87`), macOS and Windows, the wheel, `cargo bench --no-run`, corpus tier 2, the writer patch corpus, the IfcOpenShell validator and the release-binary builds. - [x] Measure, head 3561238 against `main` aefc29f, [run 36743387491](https://github.com/DrunkOnJava/rvt-rs/actions/runs/36743387491): the IFC is byte-identical on all six reference models (Core Interior, Einhoven, RE1 Architecture, Electrical, Mechanical, Plumbing), and so is every scorer output, about twenty per model. This says nothing about the PartAtom parser: the exporter reads only a `PartAtom` stream, and `diagnostics.json` shows `has_part_atom: false` on all six. - [x] The parser is measured by #538's addition to Measure, which has `rvt-info --redact --json` read every model and every Autodesk family and diffs it. Run from that branch on this one (head 3561238 against `main` aefc29f, `families=true`, [run 36744354619](https://github.com/DrunkOnJava/rvt-rs/actions/runs/36744354619)): the output and the exit status (0) are identical on all 17 files. On the eleven families (2016 to 2026) that is a PartAtom read through the migrated code (title `0610 x 0915mm`, OmniClass `23.40.20.14.17`, two categories and two taxonomies, 3.4 to 4.2 KB of XML each); on the six project models it is their `ProjectInformation` stream, which goes through the same `PartAtom::from_bytes` (`document.title` and `last_saved` are the atom's `entry_title` and `updated`, and are set on all six). - [x] Fuzz, `fuzz_part_atom` for 300 s on this branch at 3561238 ([run 36744743660](https://github.com/DrunkOnJava/rvt-rs/actions/runs/36744743660)): 14,137,919 executions of `PartAtom::from_bytes` under libFuzzer, no crash, timeout or out-of-memory. The same run builds the fuzz workspace on nightly against quick-xml 0.42 and earcut 0.4.11 in `fuzz/Cargo.lock`. ## Audit-honesty checklist - [x] The MSRV, in the manifests, CI and docs, moves together; the changelog says `rvt` 0.4.0 on crates.io still declares 1.85 - [x] Not established here: PartAtom streams other than these seventeen files. The reader is given a `&str`, so quick-xml 0.42's new rejection of input that is not valid UTF-8 cannot happen from `PartAtom::from_bytes`, which already returns an error for invalid UTF-8 - [x] No emojis, private paths or PII ## Legal and contribution hygiene - [x] Apache-2.0 - [x] No Autodesk content - [x] No fixtures ## Breaking changes The minimum supported Rust version rises from 1.85 to 1.87. The next release notes carry it. ## Related issues Supersedes the Dependabot pull request #532 (quick-xml 0.42) and the earcut part of #531.
|
Superseded by #535, which takes quick-xml 0.42 together with the MSRV bump it needs (1.86 or above; the crate is now on 1.87) and the migration of |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Bumps quick-xml from 0.41.0 to 0.42.0.
Release notes
Sourced from quick-xml's releases.
... (truncated)
Changelog
Sourced from quick-xml's changelog.
... (truncated)
Commits
36a2c52Release 0.42.0a4b9fcacargo fmt22c99f5Update Rust Edition to 202483351fbAdd rename = $value to a table in serde example commentsf4db767Clarify documentation about lifetimes of the events and attributes9f4c66aFix formatting for correct assertions in read_nodes_serde6950ef7Add GHA job to execute examplesdbf9e3fShow XML Decl tracking in examplesaab9452Add writing a Decl event to the writer example1573e05Avoid trim_text(true) in the in-depth examplesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)