Update Rust crate quick-xml to v0.37.0 #9770
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
=0.36.2->=0.37.0Release Notes
tafia/quick-xml (quick-xml)
v0.37.0Compare Source
New Features
From<String>andFrom<Cow<str>>forquick_xml::de::Text.SimpleTypeDeserializerandSimpleTypeSerializerpublic.IntoDeserializerfor&mut Deserializer.Bug Fixes
$textfields and those$valuefieldsthat are serialized as a text (for example,
usizeorString).which is only
"true","1","false", and"0". Previously the following valuesalso was accepted:
booltrue"True","TRUE","t","Yes","YES","yes","y"false"False","FALSE","f","No","NO","no","n"Misc Changes
SeErrorfromDeErrorin theserializefeature.Serialize functions and methods now return
SeError.std::io::ErrorfromWritermethods.NamespaceErrorandEncodingErrorfromError.Error::EscapeErrortoError::Escapeto match other variants.Errorwhere only one variant is ever returned:attribute related methods on
BytesStartandBytesDeclreturnsAttrErrorSerializerby returning an enumeration with kind of written dataVec<usize>orVec<String>in$valuefields. They cannot be deserialized back with the same resultescapeand it variants take aimpl Into<Cow<str>>argument and implementFrom<(&'a str, Cow<'a, str>)>onAttributeDeError::InvalidInt,DeError::InvalidFloatandDeError::InvalidBoolean.Now the responsibility for returning the error lies with the visitor of the type.
See ratiohttps://github.com/serde-rs/serde/pull/2811ull/2811
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.