chore(deps): bump serde_with from 3.20.0 to 3.24.0 in /src-tauri
Encrypted messaging, communities, voice chat, and file sharing.
Status: Beta
Brought to you by:
recline
Originally created by: dependabot[bot]
Bumps serde_with from 3.20.0 to 3.24.0.
Sourced from serde_with's releases.
serde_with v3.24.0
Added
- Implement
JsonSchemaAsforNoneAsEmptyString, so fields using it compile with theschemars_*features (#1014](https://github.com/href="https://redirect.github.com/jonasbb/serde_with/issues/1014">/issues/1014))Changed
- Make
with_prefix!andwith_suffix!available with theallocfeature, instead of only withstd(#1008](https://github.com/href="https://redirect.github.com/jonasbb/serde_with/issues/1008">/issues/1008))Fixed
- Handle potential panics in deserialization of chrono and time DateTimes. This was privately reported by
@NotAFlightRisk.serde_with v3.23.0
Changed
- Update
synanddarlingdependencies to usesynv3 (#992](https://github.com/href="https://redirect.github.com/jonasbb/serde_with/issues/992">/issues/992))- Update dev-dependencies to newer versions (#993](https://github.com/href="https://redirect.github.com/jonasbb/serde_with/issues/993">/issues/993))
- Update
base64to a newer version. This should not have any API change, but some error messages might change. (#993](https://github.com/href="https://redirect.github.com/jonasbb/serde_with/issues/993">/issues/993))serde_ascan now parsecfg_attr(true, ...)andcfg_attr(false, ...)(#995](https://github.com/href="https://redirect.github.com/jonasbb/serde_with/issues/995">/issues/995))true/falseare new literals as of Rust 1.88 but need to be parsed explicitly with thesyntypes. This is used when emittingschemarsannotations.serde_with v3.22.0
Added
- Add support for
jiffv0.2 behind the newjiff_0_2feature flag (#936](https://github.com/href="https://redirect.github.com/jonasbb/serde_with/issues/936">/issues/936))jiff::SignedDurationworks withDurationSecondsand its variants.jiff::Timestamp,jiff::Zoned, andjiff::civil::DateTimework withTimestampSecondsand its variants. Deserializing ajiff::Zoneduses the system time zone, likechrono::DateTime<Local>.Fixed
- Extend the GHSA-7gcf-g7xr-8hxj fix to the duplicate-key-prevention collections. 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](https://github.com/href="https://redirect.github.com/jonasbb/serde_with/issues/966">/issues/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 withHash table capacity overflowbefore a single element was read. All such constructions now route throughsize_hint_cautious.serde_with v3.21.0
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](https://github.com/href="https://redirect.github.com/jonasbb/serde_with/issues/966">/issues/966) by setting a maximum allocation size during the creation of collections like
Vecor sets.Thanks to
@7thParkkfor reporting the issue.
... (truncated)
35ac84c Bump version to 3.24 (#1016](https://github.com/href="https://redirect.github.com/jonasbb/serde_with/issues/1016">/issues/1016))7b8e561 Bump version to 3.246e576c8 Bump the github-actions group with 2 updates (#1012](https://github.com/href="https://redirect.github.com/jonasbb/serde_with/issues/1012">/issues/1012))7b1814b Add schemars support for NoneAsEmptyString (#1014](https://github.com/href="https://redirect.github.com/jonasbb/serde_with/issues/1014">/issues/1014))92eeedd Handle potential panic during deserialization for large datetimes (#1015](https://github.com/href="https://redirect.github.com/jonasbb/serde_with/issues/1015">/issues/1015))3404642 Handle potential panic during deserialization for large datetimesc7073b9 Add schemars support for NoneAsEmptyString6b32290 Run test with only the alloc feature (#1013](https://github.com/href="https://redirect.github.com/jonasbb/serde_with/issues/1013">/issues/1013))3361c69 Run test with only the alloc featureb43bb81 Reduce required feature for with_{prefix,suffix} from std to alloc (#1008](https://github.com/href="https://redirect.github.com/jonasbb/serde_with/issues/1008">/issues/1008))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.