Update Rust crate quick-xml to 0.38.0 #364
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/quick-xml-0.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
0.37.5
->0.38.0
Release Notes
tafia/quick-xml (quick-xml)
v0.38.0
Compare Source
Significant changes
Now references to entities (as predefined, such as
<
, as user-defined) reported as a newEvent::GeneralRef
.Caller can parse the content of the entity and stream events from it as it is required by the
XML specification. See the updated
custom_entities
example!Implement whitespace behavior in the standard in
Deserializer
, which says string primitivetypes should preserve whitespace, while all other primitives have collapse behavior.
New Features
Attributes::into_map_access(&str)
andAttributes::into_deserializer()
whenserialize
feature is enabled. This will allow do deserialize serde types right from attributes. Both methods
returns the same type which implements serde's
Deserializer
andMapAccess
traits.Event::GeneralRef
with content of general entity.allow_dangling_amp
which allows to havea
&
not followed by;
in the textual data which is required for some applicationsfor compatibility reasons.
quick_xml::de::Text
to access text with trimmed spacesBug Fixes
$text
and$value
special fields in one struct. Previouslyany text will be recognized as
$value
field even when$text
field is also presented.xml
prefix from the attributes when map them to struct fields inDeserializer
.Misc Changes
From<QName<'a>> for BytesStart<'a>
because nowBytesStart
stores theencoding in which its data is encoded, but
QName
is a simple wrapper around byte slice.BytesText::unescape
andBytesText::unescape_with
replaced byBytesText::decode
.Now Text events does not contain escaped parts which are reported as
Event::GeneralRef
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.