Skip to content

Update roxmltree requirement from 0.15.0 to 0.21.1 - #217

Merged
yawara merged 2 commits into
mainfrom
dependabot/cargo/roxmltree-0.21.1
Feb 24, 2026
Merged

Update roxmltree requirement from 0.15.0 to 0.21.1#217
yawara merged 2 commits into
mainfrom
dependabot/cargo/roxmltree-0.21.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 18, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on roxmltree to permit the latest version.

Changelog

Sourced from roxmltree's changelog.

[0.21.1] - 2025-10-09

Fixed

  • Remove implict 'static lifetime bound on EntityResolver dyn trait type alias.
  • Upgrade EntityResolver dyn trait type alias from FnMut to Fn to resolve lifetime issues.

[0.21.0] - 2025-10-04

Added

  • ParsingOptions::entity_resolver can be used to resolve external entities referenced via public ID and URI.

Changed

  • Node::has_attribute, Node::attribute and Node::attribute_node match local names similar to how Node::has_tag_name works.
  • Various internal performance improvements, e.g. devirtualization of token dispatch and usage of memchr for finding delimiters.

Fixed

  • Possible panic when entity resolution yields unbalanced tags.
  • Quadratic runtime when merging consecutive text nodes.

[0.20.0] - 2024-05-23

Added

  • Attribute::range, Attribute::range_qname, Attribute::range_value. Thanks to @​Jayonas

Changed

  • Attribute::position is deprecated now.
  • The positions build feature uses a bit more memory now to better preserve attribute ranges.

[0.19.0] - 2023-11-18

Changed

  • xmlparser is no longer a dependency and its fork is used internally.
  • ~5% faster parsing.
  • Fallback to Rc when Arc isn't available.
  • Bump MSRV to 1.60
  • Bump edition to 2021
  • Error variants have changed quite a lot.
  • XML declaration validation was simplified. We no longer check for attributes content. Meaning that version, encoding and standalone can contain any value now. But we still do check attribute names and order. And while we did validated those attributes before, they weren't really affecting the parser in any way. Therefore the parsing behavior is mostly unchanged.

Fixed

  • ParsingOptions::allow_dtd = false would not trigger an error when an empty DTD was present.

Removed

  • The xmlparser dependency.

[0.18.1] - 2023-09-30

Added

... (truncated)

Commits
  • 67644e1 Also upgrade it from FnMut to Fn as borrowing entities from elsewhere wont wo...
  • cfc15b7 Fix implicit 'static bound on EntityResolve dyn trait type alias.
  • cd5b0e8 Fix benchmark build, update changelog and bump version.
  • 634f4d0 Add support for resolving external entities
  • a1bd711 Adjust attribute accessors to match purely on local names
  • 5528680 Fix lints emitted by current nightly Clippy.
  • d2c7801 Speed-up attribute parsing by splitting tokenizing and verification
  • 239114a Add benchmark using gigantic SVG containing huge attribute values.
  • 3b09447 Avoid quadratic runtime when merging text nodes
  • 6df398d Refine and extend synthetic benchmarks stressing CDATA, text and attribute va...
  • Additional commits viewable in compare view

Dependabot 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Feb 18, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/roxmltree-0.21.1 branch from 2c52da4 to 9fe0b56 Compare February 18, 2026 05:16
@yawara

yawara commented Feb 19, 2026

Copy link
Copy Markdown
Contributor

@copilot Please modify the code to support the latest version of roxmltree, addressing any breaking changes if necessary.

Copilot AI commented Feb 19, 2026

Copy link
Copy Markdown
Contributor

@yawara I've opened a new pull request, #220, to work on those changes. Once the pull request is ready, I'll request review from you.

Updates the requirements on [roxmltree](https://github.com/RazrFalcon/roxmltree) to permit the latest version.
- [Changelog](https://github.com/RazrFalcon/roxmltree/blob/master/CHANGELOG.md)
- [Commits](RazrFalcon/roxmltree@v0.15.0...v0.21.1)

---
updated-dependencies:
- dependency-name: roxmltree
  dependency-version: 0.21.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/cargo/roxmltree-0.21.1 branch from 9fe0b56 to 101c09d Compare February 19, 2026 04:19
…r API (#220)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: yawara <10078984+yawara@users.noreply.github.com>
Co-authored-by: Yawara ISHIDA <ni732h.sphl@gmail.com>
@yawara
yawara requested review from bschwind and strohel February 20, 2026 04:10

@strohel strohel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good. I guess we don't have to test with a physical camera, as existing tests cover the touched code well?

@yawara

yawara commented Feb 24, 2026

Copy link
Copy Markdown
Contributor

Tested on Hikvision MV-CB060-10UC-C.

@yawara
yawara merged commit 69d9d9a into main Feb 24, 2026
5 checks passed
@yawara
yawara deleted the dependabot/cargo/roxmltree-0.21.1 branch February 24, 2026 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants