Update Rust crate serde_with to 2.2.0 #12
Reference in New Issue
Block a user
Delete Branch "renovate/serde_with-2.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:
2.0.1->2.2.0Release Notes
jonasbb/serde_with
v2.2.0: serde_with v2.2.0Compare Source
Added
Add new
MapandSeqtypes for converting between maps and tuple lists. (#527)The behavior is not new, but already present using
BTreeMap/HashMaporVec.However, the new types
MapandSeqare also available onno_std, even without theallocfeature.Changed
serde_with_macrosdependency to the same version as the main crate.This simplifies publishing and ensures that always a compatible version is picked.
Fixed
serde_with::applyhad an issue matching types when invisible token groups where in use (#538)The token groups can stem from macro_rules expansion, but should be treated mostly transparent.
The old code required a group to match a group, while now groups are silently removed when checking for type patterns.
v2.1.0: serde_with v2.1.0Compare Source
Added
Add new
applyattribute to simplify repetitive attributes over many fields.Multiple rules and multiple attributes can be provided each.
The
applyattribute will expand into this, applying the attributs to the matching fields:The attribute supports field matching using many rules, such as
_to apply to all fields and partial generics likeOptionto match anyOptionbe itOption<String>,Option<bool>, orOption<T>.Fixed
The derive macros
SerializeDisplayandDeserializeFromStrnow take better care not to use conflicting names for generic values. (#526)All used generics now start with
__to make conflicts with manually written code unlikely.Thanks to @Elrendio for submitting a PR fixing the issue.
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 has been generated by Renovate Bot.
Update Rust crate serde_with to 2.1.0to Update Rust crate serde_with to 2.2.07b7ca7f2acto37c78c525637c78c5256tod76b60a858