cargo quick-xml 0.29.0
Serde helpers and indentation for async writer

latest releases: 0.38.3, 0.38.2, 0.38.1...
2 years ago

What's Changed

New Features

  • #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 <!DOCTYPE> 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.

New Contributors

Full Changelog: v0.28.2...v0.29.0

Don't miss a new quick-xml release

NewReleases is sending notifications on new releases.