v0.34.0 - allow to read 4GB+ files on 32-bit targets
What's Changed
Bug Fixes
#751: Fix internal overflow when read 4GB+ files on 32-bit targets using Reader<impl BufRead> readers.
Misc Changes
#760: Attribute::decode_and_unescape_value and Attribute::decode_and_unescape_value_with now accepts Decoder instead of Reader. Use Reader::decoder() to get it.
#760: Writer::write_event now consumes event. Use Event::borrow() if you want to keep ownership.
#751: Type of Reader::error_position() and Reader::buffer_position() changed from usize to u64.
#751: Type alias Span changed from Range<usize> to Range<u64>.
#751: Fix internal overflow when read 4GB+ files on 32-bit targets using Reader<impl BufRead> readers.
Misc Changes
#760: Attribute::decode_and_unescape_value and Attribute::decode_and_unescape_value_with now
accepts Decoder instead of Reader. Use Reader::decoder() to get it.
#760: Writer::write_event now consumes event. Use Event::borrow() if you want to keep ownership.
#751: Type of Reader::error_position() and Reader::buffer_position() changed from usize to u64.
#751: Type alias Span changed from Range<usize> to Range<u64>.
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 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 show 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)
Updates the requirements on quick-xml to permit the latest version.
Release notes
Sourced from quick-xml's releases.
Changelog
Sourced from quick-xml's changelog.
... (truncated)
Commits
7f86e57
Release 0.34.0d71978e
Use u64 offsets to be able to read 4GB+ files on 32-bit targetsd2c75ab
Run some tests on 32-bit target7f92129
Add tests to check that reading can overflow internal counters4674244
Merge pull request #760 from Mingun/in-mind-of-write55f7aa1
Consume event when write. UseEvent::borrow()
if you want to keep ownership2553b62
AcceptDecoder
instead ofReader
when decoding attributes.31ca532
Remove unused import in doctest649f3d8
Merge pull request #767 from Mingun/move-to-integrationa24ed89
Move writer integration tests for indentation to tests/writer-indentation.rsDependabot 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 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 show