#601: Add serde_helper module to the crate root with some useful utility
functions and document using of enum's unit variants as a text content of element.
#606: Implement indentation for AsyncWrite trait implementations.
Bug Fixes
#603: Fix a regression from #581 that an XML comment or a processing
instruction between a and the root element in the file brokes
deserialization of structs by returning DeError::ExpectedStart
#608: Return a new error Error::EmptyDocType on empty doctype instead
of crashing because of a debug assertion.
Misc Changes
#594: Add a helper macro to help deserialize internally tagged enums
with Serde, which doesn't work out-of-box due to serde limitations.
#601: Add serde_helper module to the crate root with some useful utility
functions and document using of enum's unit variants as a text content of element.
#606: Implement indentation for AsyncWrite trait implementations.
Bug Fixes
#603: Fix a regression from #581 that an XML comment or a processing
instruction between a and the root element in the file brokes
deserialization of structs by returning DeError::ExpectedStart
#608: Return a new error Error::EmptyDocType on empty doctype instead
of crashing because of a debug assertion.
Misc Changes
#594: Add a helper macro to help deserialize internally tagged enums
with Serde, which doesn't work out-of-box due to serde limitations.
#581: Allow Deserializer to set quick_xml::de::EntityResolver for
resolving unknown entities that would otherwise cause the parser to return
an [EscapeError::UnrecognizedSymbol] error.
#581: Relax requirements for unsescape_* set of functions -- their now use
FnMut instead of Fn for resolve_entity parameters, like Iterator::map
from std.
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 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
5a536d0
Release v0.29.07629a70
Change names of methods that emits events to reflect their purpose70f4a9c
Change order of variants, group text variants together621da10
Merge pull request #594 from Kriskras99/master858118e
Add a helper macro to help deserialize internally tagged enums with Serde88a2f27
Merge pull request #612 from Tpt/empty-doctypea86340b
Fails on empty doctype358cc58
Merge pull request #603 from danjpgriffin/masterd49f2d5
TrimText
events after DOCTYPE so spaces does not produce an event.c8332d9
Add tests for comments and processing instructions in XML prologDependabot 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 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)