Skip to content

Commit a7479c3

Browse files
Merge #1004
1004: Update roxmltree requirement from 0.16 to 0.17 r=chitoyuu a=dependabot[bot] Updates the requirements on [roxmltree](https://github.com/RazrFalcon/roxmltree) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/RazrFalcon/roxmltree/blob/master/CHANGELOG.md">roxmltree's changelog</a>.</em></p> <blockquote> <h2>[0.17.0] - 2023-01-06</h2> <h3>Added</h3> <ul> <li>Stored namespaces are deduplicated now, which can reduce memory usage on large files up to 10%. Thanks to <a href="https://github.com/adamreichold"><code>`@​adamreichold</code></a></li>` </ul> <h3>Changed</h3> <ul> <li><code>Node::namespaces</code> returns an iterator and not a slice now.</li> </ul> <h3>Fixed</h3> <ul> <li>Unclosed root element is an error now. Thanks to <a href="https://github.com/adamreichold"><code>`@​adamreichold</code></a></li>` </ul> <h2>[0.16.0] - 2022-11-20</h2> <h3>Added</h3> <ul> <li><code>positions</code> build feature.</li> <li><code>Node::position</code></li> <li><code>Attribute::position</code></li> <li><code>ParsingOptions::nodes_limit</code> to limit the maximum number of nodes to parse.</li> </ul> <h3>Changed</h3> <ul> <li>Peak memory usage reduces by up to 20% depending on an input. Thanks to <a href="https://github.com/adamreichold"><code>`@​adamreichold</code></a>` and <a href="https://github.com/tomjw64"><code>`@​tomjw64</code></a>.</li>` <li><code>Node::attributes</code> returns an iterator and not a slice now.</li> </ul> <h3>Removed</h3> <ul> <li>4GB input limit.</li> <li>Do not store Node and Attribute end range in the original document.</li> <li>Do not store attribute value range in the original document.</li> <li><code>Node::range</code>. Use <code>position</code> instead.</li> <li><code>Attribute::range</code>. Use <code>position</code> instead.</li> <li><code>Attribute::value_range</code></li> </ul> <h2>[0.15.1] - 2022-10-18</h2> <h3>Fixed</h3> <ul> <li>Bump <code>xmlparser</code> to prevent stack overflow on some input.</li> </ul> <h2>[0.15.0] - 2022-08-15</h2> <h3>Changed</h3> <ul> <li>Extend <code>Document::descendants</code> lifetime. Thanks to <a href="https://github.com/DBLouis"><code>`@​DBLouis</code></a>.</li>` <li>Derive <code>Eq</code> and <code>Hash</code> for <code>NodeId</code>.</li> <li>Remove <code>pretty_assertions</code> dev-dependency.</li> <li>MSRV is now 1.36</li> </ul> <h2>[0.14.1] - 2021-04-01</h2> <h3>Changed</h3> <ul> <li>The <code>std</code> feature is enabled by default now.</li> </ul> <h2>[0.14.0] - 2020-12-27</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/RazrFalcon/roxmltree/commit/b81ec71fb5496ddd671d683b33f2302cdf9ae0ba"><code>b81ec71</code></a> Version bump.</li> <li><a href="https://github.com/RazrFalcon/roxmltree/commit/0553f41667015dc54ca8f1ea97c37e773640f8c2"><code>0553f41</code></a> Detect unclosed root nodes.</li> <li><a href="https://github.com/RazrFalcon/roxmltree/commit/bf055e75f3bf57b5478483f1a19f6f07486b66d8"><code>bf055e7</code></a> Fix-ups to the deduplication of namespaces.</li> <li><a href="https://github.com/RazrFalcon/roxmltree/commit/3a490a5a577d996582f7eefbe385805cd0982562"><code>3a490a5</code></a> Provide a named type for the iterator returned by Node::namespaces and expand...</li> <li><a href="https://github.com/RazrFalcon/roxmltree/commit/192d45edee22e928a2d8bfc29ae3ce54536411d8"><code>192d45e</code></a> Only allocate normalized namespace URI when they are uniquely new.</li> <li><a href="https://github.com/RazrFalcon/roxmltree/commit/3809cd4f05663dc4420cdf8251f07d023913d115"><code>3809cd4</code></a> Enable code to delay taking ownership of normalized values.</li> <li><a href="https://github.com/RazrFalcon/roxmltree/commit/0de61b63fd6b1c5ad9f3250a834c0d93847bfbc9"><code>0de61b6</code></a> Actually ensure that the number of unique namespaces fits into the smaller type.</li> <li><a href="https://github.com/RazrFalcon/roxmltree/commit/81a8ee62a298cae9293046e923d1cb2194dbf801"><code>81a8ee6</code></a> Use a smaller data type to index namespaces.</li> <li><a href="https://github.com/RazrFalcon/roxmltree/commit/9c86ba16c6fe3b8afc22aafc609698cb1cdc6bf6"><code>9c86ba1</code></a> Make ExpandedNameIndexed::namespace_idx index directly into Namespaces::value...</li> <li><a href="https://github.com/RazrFalcon/roxmltree/commit/a86683c361791c5ccfb1f744c22ffdd17e1a078a"><code>a86683c</code></a> Deduplicate namespace values using separate sorted-order and tree-order lists.</li> <li>Additional commits viewable in <a href="https://github.com/RazrFalcon/roxmltree/compare/v0.16.0...v0.17.0">compare view</a></li> </ul> </details> <br /> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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` merge` will merge this PR after your CI passes on it - ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it - ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging - ``@dependabot` reopen` will reopen this PR if it is closed - ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - ``@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) </details> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 parents 040fdf0 + d9b7147 commit a7479c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings-generator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ miniserde = "0.1.16"
2222
proc-macro2 = "1"
2323
quote = "1"
2424
regex = { version = "1.5.5", default-features = false, features = ["std"] } # for security: https://blog.rust-lang.org/2022/03/08/cve-2022-24713.html
25-
roxmltree = "0.16"
25+
roxmltree = "0.17"
2626
syn = { version = "1", features = ["full", "extra-traits", "visit"] }
2727
unindent = "0.1.5"
2828
which = { optional = true, version = "4" }

0 commit comments

Comments
 (0)