Skip to content

chore(deps): update roxmltree requirement from 0.20 to 0.21#40

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/roxmltree-0.21
Open

chore(deps): update roxmltree requirement from 0.20 to 0.21#40
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/roxmltree-0.21

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 3, 2026

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 dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 3, 2026
@dependabot dependabot bot force-pushed the dependabot/cargo/roxmltree-0.21 branch from 08d7fd8 to eabf03d Compare April 4, 2026 18:02
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.20.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 branch from eabf03d to c1afd0c Compare April 4, 2026 19:01
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.

0 participants