anp / moxie

lightweight platform-agnostic tools for declarative UI
https://moxie.rs
Apache License 2.0
827 stars 27 forks source link

Update quick-xml requirement from 0.22.0 to 0.28.0 #304

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on quick-xml to permit the latest version.

Release notes

Sourced from quick-xml's releases.

Improvements in serde and async

What's Changed

New Features

  • #541: (De)serialize specially named $text enum variant in externally tagged enums to / from textual content
  • #556: to_writer and to_string now accept ?Sized types
  • #556: Add new to_writer_with_root and to_string_with_root helper functions
  • #520: Add methods BytesText::inplace_trim_start and BytesText::inplace_trim_end to trim leading and trailing spaces from text events
  • #565: Allow deserialize special field names $value and $text into borrowed fields when use serde deserializer
  • #568: Rename Writter::inner into Writter::get_mut
  • #568: Add method Writter::get_ref
  • #569: Rewrite the Reader::read_event_into_async as an async fn, making the future Send if possible.
  • #571: Borrow element names (<element>) when deserialize with serde. This change allow to deserialize into HashMap<&str, T>, for example
  • #573: Add basic support for async byte writers via tokio's AsyncWrite.

Bug Fixes

  • #537: Restore ability to deserialize attributes that represents XML namespace mappings (xmlns:xxx) that was broken since #490
  • #510: Fix an error of deserialization of Option<T> fields where T is some sequence type (for example, Vec or tuple)
  • #540: Fix a compilation error (probably a rustc bug) in some circumstances. Serializer::new and Serializer::with_root now accepts only references to Writer.
  • #520: Merge consequent (delimited only by comments and processing instructions) texts and CDATA when deserialize using serde deserializer. DeEvent::Text and DeEvent::CData events was replaced by DeEvent::Text with merged content. The same behavior for the Reader does not implemented (yet?) and should be implemented manually
  • #562: Correctly set minimum required version of memchr dependency to 2.1
  • #565: Correctly set minimum required version of tokio dependency to 1.10
  • #565: Fix compilation error when build with serde <1.0.139

#490: tafia/quick-xml#490 #510: tafia/quick-xml#510 #520: tafia/quick-xml#520 #537: tafia/quick-xml#537 #540: tafia/quick-xml#540 #541: tafia/quick-xml#541 #556: tafia/quick-xml#556 #562: tafia/quick-xml#562 #565: tafia/quick-xml#565 #568: tafia/quick-xml#568 #569: tafia/quick-xml#569

... (truncated)

Changelog

Sourced from quick-xml's changelog.

0.28.0 -- 2023-03-13

New Features

  • #541: (De)serialize specially named $text enum variant in externally tagged enums to / from textual content
  • #556: to_writer and to_string now accept ?Sized types
  • #556: Add new to_writer_with_root and to_string_with_root helper functions
  • #520: Add methods BytesText::inplace_trim_start and BytesText::inplace_trim_end to trim leading and trailing spaces from text events
  • #565: Allow deserialize special field names $value and $text into borrowed fields when use serde deserializer
  • #568: Rename Writter::inner into Writter::get_mut
  • #568: Add method Writter::get_ref
  • #569: Rewrite the Reader::read_event_into_async as an async fn, making the future Send if possible.
  • #571: Borrow element names (<element>) when deserialize with serde. This change allow to deserialize into HashMap<&str, T>, for example
  • #573: Add basic support for async byte writers via tokio's AsyncWrite.

Bug Fixes

  • #537: Restore ability to deserialize attributes that represents XML namespace mappings (xmlns:xxx) that was broken since #490
  • #510: Fix an error of deserialization of Option<T> fields where T is some sequence type (for example, Vec or tuple)
  • #540: Fix a compilation error (probably a rustc bug) in some circumstances. Serializer::new and Serializer::with_root now accepts only references to Writer.
  • #520: Merge consequent (delimited only by comments and processing instructions) texts and CDATA when deserialize using serde deserializer. DeEvent::Text and DeEvent::CData events was replaced by DeEvent::Text with merged content. The same behavior for the Reader does not implemented (yet?) and should be implemented manually
  • #562: Correctly set minimum required version of memchr dependency to 2.1
  • #565: Correctly set minimum required version of tokio dependency to 1.10
  • #565: Fix compilation error when build with serde <1.0.139

#490: tafia/quick-xml#490 #510: tafia/quick-xml#510 #520: tafia/quick-xml#520 #537: tafia/quick-xml#537 #540: tafia/quick-xml#540 #541: tafia/quick-xml#541 #556: tafia/quick-xml#556 #562: tafia/quick-xml#562 #565: tafia/quick-xml#565 #568: tafia/quick-xml#568 #569: tafia/quick-xml#569 #571: tafia/quick-xml#571

... (truncated)

Commits
  • 642de0a Release 0.28.0
  • fe9b040 Get rid warning when compile without "serialize" feature
  • 42e2350 Fix incorrect name of event in error variant documentation
  • 1ec074d Add path argument to an example otherwise cargo package complains
  • 1a967a6 Update introduction text with information about features and a quick link to ...
  • 180f828 Give more descriptive names to some variables
  • b1a23a1 Add some documentation to internal macros and functions that implements parser
  • 078cd4c Be consistent in used references to the XML standard
  • f822669 Merge pull request #573 from vilunov/async-writer
  • 7792983 Merge pull request #574 from Mingun/ser-text-enum
  • Additional commits viewable in compare view


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)
dependabot[bot] commented 1 year ago

Superseded by #306.