paritytech / parity-scale-codec

Lightweight, efficient, binary serialization and deserialization codec
Apache License 2.0
257 stars 94 forks source link

Bump arbitrary from 1.3.2 to 1.4.0 #651

Closed dependabot[bot] closed 3 weeks ago

dependabot[bot] commented 3 weeks ago

Bumps arbitrary from 1.3.2 to 1.4.0.

Changelog

Sourced from arbitrary's changelog.

1.4.0

Released 2024-10-30.

Added

  • Added an Arbitrary implementation for PhantomPinned.
  • Added the Unstructured::choose_iter helper method.
  • Added #[arbitrary(skip)] for enum variants in the derive macro.
  • Added the Arbitrary::try_size_hint trait method.

Changed

  • Implement Arbitrary for PhantomData<A> even when A does not implement Arbitrary and when A is ?Sized.
  • Make usize's underlying encoding independent of machine word size so that corpora are more portable.

Fixed

  • Make derive(Arbitrary) work for local definitions of struct Option.

Commits
  • 5b86c44 Bump to 1.4.0
  • 1cc0e46 Merge pull request #185 from sosthene-nitrokey/wide-recursive
  • 4254bd2 Merge pull request #198 from sosthene-nitrokey/test-warnings
  • b6991ce Make MaxRecursionReached error possible to evolve in the future
  • 0f46370 Fix clippy warnings in tests
  • 365e73b Merge pull request #197 from fitzgen/doc-comment-example
  • e5897a1 Add faillible version of size_hint to properly handle recursive structures
  • ef80790 Use ? propagation in doc comment example
  • 17647a1 Merge pull request #194 from caspermeijn/derive_option
  • aa899f9 fix(derive): allow derive(Arbitrary) for struct Option
  • Additional commits viewable in compare view


Dependabot compatibility score

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.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)