Skip to content

chore(deps): bump serde_with from 3.18.0 to 3.22.0 in /zkevm/examples - #2934

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/zkevm/examples/serde_with-3.21.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/zkevm/examples/serde_with-3.21.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 8, 2026 •

Copy link
Copy Markdown
Contributor

Bumps serde_with from 3.18.0 to 3.22.0.

Release notes

Sourced from serde_with's releases.

serde_with v3.22.0

Added

  • Add support for jiff v0.2 behind the new jiff_0_2 feature flag (#936) jiff::SignedDuration works with DurationSeconds and its variants. jiff::Timestamp, jiff::Zoned, and jiff::civil::DateTime work with TimestampSeconds and its variants. Deserializing a jiff::Zoned uses the system time zone, like chrono::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, and rust::maps_first_key_wins adapters created their backing sets/maps with with_capacity_and_hasher using the raw deserializer size_hint, bypassing the size_hint_cautious cap added in #966 (the clippy.toml disallowed_methods lint only covers Vec::with_capacity, not with_capacity_and_hasher, so these sites were not flagged). Attacker-controlled input claiming a huge length could panic with Hash table capacity overflow before a single element was read. All such constructions now route through size_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 by setting a maximum allocation size during the creation of collections like Vec or sets.

    Thanks to @​7thParkk for reporting the issue.

Added

  • Add NoneAsZero adapter that maps Option<NonZero*> to a plain integer, encoding None as 0 by @​SAY-5 (#486)

Changed

  • Re-enable link-to-definition on docs.rs (#964)

Fixed

  • Fix some doc links to point to the correct types (#963)
  • Re-enable unused_qualifications and fix the resulting findings by @​lms0806 (#962)

serde_with v3.20.0

Added

  • Add support for base58 encoding, similar to the existing base64 setup by @​mitinarseny (#943)

Fixed

serde_with v3.19.0

Added

... (truncated)

Commits
  • 88f576a Bump version to 3.22.0 (#991)
  • 931e664 Bump version to 3.22.0
  • e26930e Bump github/codeql-action from 4.37.3 to 4.37.4 in the github-actions group (...
  • 92cd5a0 Bump github/codeql-action in the github-actions group
  • 32be66f Guard with_capacity_and_hasher against untrusted size_hint (DoS) (#971)
  • 33871cd Merge branch 'master' into fix/duplicate-key-impls-capacity-overflow
  • bb1e064 Change function position within impl (#968)
  • 202d3dd Improve the time unit macros to remove unnecessary repetition and make the co...
  • b347efb Move the use_duration_signed_ser/*_de macros utils
  • 6590545 chrono_0_4: Implement the same time unit macro cleanup as jiff_0_2
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Aug 8, 2026
@github-actions

github-actions Bot commented Aug 8, 2026 •

Copy link
Copy Markdown
Contributor
Test Old New Diff
curve25519_dalek_ng_test_decompressed_noncanonical 195347 195347 0.0000 %
p256_test_recover_pubkey_infinity 97138 97138 0.0000 %
bn_test_bn_test_g1_msm_edge 411941 411941 0.0000 %
bls12_381_tests_test_sqrt_fp2_100 1891558 1958448 3.5362 %
rustcrypto_bigint_test_bigint_mul_mod_special 1785802 1785802 0.0000 %
curve25519_dalek_test_decompressed_expected_value 4439088 4599490 3.6134 %
k256_test_point_ops_edge_cases 32652 32652 0.0000 %
sha_test_sha3_expected_digest_lte_100_times 1199167 1198895 -0.0227 %
curve25519_dalek_ng_test_add_then_multiply 3389737 3894411 14.8883 %
bn_test_bn_test_fq_inverse_100 805631 805631 0.0000 %
curve25519_dalek_test_add_then_multiply 3356660 2908980 -13.3371 %
rust_crypto_rsa_test_pkcs_verify_100 28843790 29323334 1.6626 %
p256_test_verify_rand_lte_100 12005170 12003039 -0.0178 %
k256_test_recover_pubkey_infinity 102032 102032 0.0000 %
bls12_381_tests_test_bls_double_100 6310230 6310230 0.0000 %
curve25519_dalek_ng_test_zero_mul 107715 107715 0.0000 %
keccack_test_expected_digest_lte_100 1722145 1723622 0.0858 %
bn_test_bn_test_g1_add_neg 299549 299549 0.0000 %
curve25519_dalek_test_decompressed_noncanonical 7851 7851 0.0000 %
p256_test_recover_rand_lte_100 15774826 15779381 0.0289 %
bn_test_bn_test_g1_double_100 735518 735539 0.0029 %
k256_test_verify_rand_lte_100 11745842 11690949 -0.4673 %
secp256k1_program_test_verify_rand_lte_100 17081716 17120343 0.2261 %
k256_test_schnorr_verify 5706077 5713649 0.1327 %
k256_test_recover_rand_lte_100 4573473 4577100 0.0793 %
bn_test_bn_test_g1_add_100 998839 998846 0.0007 %
k256_test_recover_high_hash_high_recid 2158149 2171692 0.6275 %
bls12_381_tests_test_sqrt_fp_100 903415 840234 -6.9936 %
bn_test_bn_test_g1_mul_zero 48333 48333 0.0000 %
bn_test_bn_test_fq_partial_ord 186343 186343 0.0000 %
bn_test_bn_test_fq_sqrt_100 804031 804031 0.0000 %
curve25519_dalek_test_zero_msm 83313 83313 0.0000 %
curve25519_dalek_test_zero_mul 71736 71736 0.0000 %
bn_test_bn_test_fr_inverse_100 824131 824131 0.0000 %
curve25519_dalek_ng_test_zero_msm 125094 125094 0.0000 %
bls12_381_tests_test_inverse_fp_100 1205483 1205483 0.0000 %
secp256k1_program_test_recover_v0_30_0_rand_lte_100 5485334 5483523 -0.0330 %
secp256k1_program_test_recover_rand_lte_100 5529495 5546256 0.3031 %
sha_test_sha2_v0_10_8_expected_digest_lte_100_times 1355607 1358973 0.2483 %
bls12_381_tests_test_bls_add_100 10376534 10376534 0.0000 %
bls12_381_tests_test_inverse_fp2_100 2230063 2230063 0.0000 %
sha_test_sha2_v0_10_9_expected_digest_lte_100_times 1353522 1354458 0.0692 %
p256_test_recover_high_hash_high_recid 6408622 5232534 -18.3517 %
rustcrypto_bigint_test_bigint_mul_add_residue 1747305 1747305 0.0000 %
sha_test_sha2_v0_10_6_expected_digest_lte_100_times 1356016 1358190 0.1603 %
sha_test_sha2_v0_9_9_expected_digest_lte_100_times 1271438 1268690 -0.2161 %
curve25519_dalek_test_ed25519_verify 13354643 13354251 -0.0029 %
secp256k1_program_test_verify_v0_30_0_rand_lte_100 17089400 17125808 0.2130 %

Bumps [serde_with](https://github.com/jonasbb/serde_with) from 3.18.0 to 3.22.0.
- [Release notes](https://github.com/jonasbb/serde_with/releases)
- [Commits](jonasbb/serde_with@v3.18.0...v3.22.0)

---
updated-dependencies:
- dependency-name: serde_with
  dependency-version: 3.21.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump serde_with from 3.18.0 to 3.21.0 in /zkevm/examples chore(deps): bump serde_with from 3.18.0 to 3.22.0 in /zkevm/examples Aug 12, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/zkevm/examples/serde_with-3.21.0 branch from 978a4d5 to 729ada3 Compare August 12, 2026 13:22

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants