Update Rust crate serde_with to v3.22.0 - #52
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/serde_with-3.x-lockfile
branch
2 times, most recently
from
May 10, 2026 21:48
94a0ed5 to
f2ba980
Compare
renovate
Bot
force-pushed
the
renovate/serde_with-3.x-lockfile
branch
from
June 4, 2026 22:13
f2ba980 to
bf6fef5
Compare
renovate
Bot
force-pushed
the
renovate/serde_with-3.x-lockfile
branch
from
July 21, 2026 00:15
bf6fef5 to
0e734a7
Compare
renovate
Bot
force-pushed
the
renovate/serde_with-3.x-lockfile
branch
from
August 9, 2026 17:25
0e734a7 to
84eeeb0
Compare
renovate
Bot
force-pushed
the
renovate/serde_with-3.x-lockfile
branch
from
August 12, 2026 00:51
84eeeb0 to
cd213de
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
3.19.0→3.22.0Release Notes
jonasbb/serde_with (serde_with)
v3.22.0: serde_with v3.22.0Compare Source
Added
jiffv0.2 behind the newjiff_0_2feature flag (#936)jiff::SignedDurationworks withDurationSecondsand its variants.jiff::Timestamp,jiff::Zoned, andjiff::civil::DateTimework withTimestampSecondsand its variants.Deserializing a
jiff::Zoneduses the system time zone, likechrono::DateTime<Local>.Fixed
The
rust::sets_duplicate_value_is_error,rust::maps_duplicate_key_is_error,rust::sets_last_value_wins, andrust::maps_first_key_winsadapters created their backing sets/maps withwith_capacity_and_hasherusing the raw deserializersize_hint, bypassing thesize_hint_cautiouscap added in #966 (theclippy.tomldisallowed_methodslint only coversVec::with_capacity, notwith_capacity_and_hasher, so these sites were not flagged).Attacker-controlled input claiming a huge length could panic with
Hash table capacity overflowbefore a single element was read. All such constructions now route throughsize_hint_cautious.v3.21.0: serde_with v3.21.0Compare Source
Security
GHSA-7gcf-g7xr-8hxj: KeyValueMap serialization panics on empty sequence or map entries
Bad or attacker controlled values could cause a panic while allocating too large values.
Fixed in #966 by setting a maximum allocation size during the creation of collections like
Vecor sets.Thanks to @7thParkk for reporting the issue.
Added
NoneAsZeroadapter that mapsOption<NonZero*>to a plain integer, encodingNoneas0by @SAY-5 (#486)Changed
Fixed
unused_qualificationsand fix the resulting findings by @lms0806 (#962)v3.20.0: serde_with v3.20.0Compare Source
Added
base58encoding, similar to the existingbase64setup by @mitinarseny (#943)Fixed
base64withschemarssupport by @mitinarseny (#9949)Configuration
📅 Schedule: (UTC)
🚦 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.