chore(deps): update rust crate arbitrary to v1.4.2 #32

Open
renovate-bot wants to merge 1 commit from renovate/arbitrary-1.x-lockfile into master
Member

This PR contains the following updates:

Package Type Update Change
arbitrary dependencies minor 1.0.1 -> 1.4.2

Release Notes

rust-fuzz/arbitrary (arbitrary)

v1.4.2

Compare Source

Released 2025-08-13.

Added
  • Added formal MSRV policy: "We reserve the right to increment the MSRV on minor
    releases, however we will strive to only do it deliberately and for good
    reasons." The current MSRV is 1.63.0.
  • Added an Arbitrary implementation for core::cmp::Reverse.
Changed
  • Landed a handful of changes to the code generated by #[derive(Arbitrary)]
    that speed up compilation.
Fixed
  • Better documented bias and behavior when running out of entropy, fixed some
    outdated and incorrect docs related to this.

v1.4.1

Compare Source

Released 2024-11-05.


v1.4.0

Compare Source

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.

v1.3.2

Compare Source

Released 2023-10-30.

Added
  • Added Arbitrary implementations for Arc<[T]> and
    Rc<[T]>. #​160

v1.3.1

Compare Source

Released 2023-10-11.

Fixed
  • Fixed an issue with generating collections of collections in
    arbitrary_take_rest where <Vec<Vec<u8>>>::arbitrary_take_rest would never
    generate vec![vec![]] for example. See
    #​159 for details.

v1.3.0

Compare Source

Released 2023-03-13.

Added
  • Added the ability to manually specify derived trait bounds for
    Arbitrary. See #​138 for
    details.
Fixed
  • Fixed minimal versions correctness for syn.

v1.2.3

Released 2023-01-20.

Fixed
  • The derive(Arbitrary) will now annotate the generated impls with a #[automatically_derived]
    attribute to indicate to e.g. clippy that lints should not fire for the code within the derived
    implementation.

v1.2.2

Released 2023-01-03.

Fixed
  • Ensured that arbitrary and derive_arbitrary versions are synced up so that
    they don't, e.g., emit generated code that depends on newer versions of
    arbitrary than the one currently in
    use. #​134

v1.2.0

Compare Source

Released 2022-10-20.

Added
  • Support custom arbitrary implementation for fields on
    derive. #​129

v1.1.7

Compare Source

v1.1.6

Compare Source

Released 2022-09-20.

Fixed
  • Fixed a potential panic due to an off-by-one error in the Arbitrary
    implementation for std::ops::Bound<T>.

v1.1.5

Compare Source

Released 2022-09-08.

Added
  • Implemented Arbitrary for std::ops::Bound<T>.
Fixed
  • Fixed a bug where Unstructured::int_in_range could return out-of-range
    integers when generating arbitrary signed integers.

v1.1.4

Compare Source

Released 2022-08-29.

Added
  • Implemented Arbitrary for Rc<str> and Arc<str>
Changed
  • Allow overriding the error type in arbitrary::Result
  • The Unstructured::arbitrary_loop method will consume fewer bytes of input
    now.
Fixed
  • Fixed a bug where Unstructured::int_in_range could return out-of-range
    integers.

v1.1.3

Compare Source

Released 2022-06-23.

Fixed
  • Fixed some potential (but highly unlikely) name-clashes inside
    derive(Arbitrary)'s generated
    code. #​111
  • Fixed an edge case where derive(Arbitrary) for recursive types that detected
    an overflow would not reset the overflow
    detection. #​111

v1.1.2

Compare Source

Released 2022-06-16.

Fixed
  • Fixed a warning inside derive(Arbitrary)-generated
    code. #​110

v1.1.1

Released 2022-06-14.

Fixed
  • Fixed a stack overflow when using derive(Arbitrary) with recursive types and
    empty inputs. #​109

v1.1.0

Released 2022-02-09.

Added
  • Added the Unstructured::ratio method to generate a boolean that is true at
    the given rate.

  • Added the Unstructured::arbitrary_loop method to call a function an
    arbitrary number of times.


v1.0.3

Compare Source

Released 2021-11-20.

Fixed
  • Fixed documentation for Unstructured::fill_bytes. We forgot to update this
    way back in #​53 when the
    behavior changed.

v1.0.2

Compare Source

Released 2021-08-25.

Added
  • Arbitrary impls for HashMaps and HashSets with custom Hashers
    #​87


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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [arbitrary](https://github.com/rust-fuzz/arbitrary) | dependencies | minor | `1.0.1` -> `1.4.2` | --- ### Release Notes <details> <summary>rust-fuzz/arbitrary (arbitrary)</summary> ### [`v1.4.2`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#142) [Compare Source](https://github.com/rust-fuzz/arbitrary/compare/v1.4.1...v1.4.2) Released 2025-08-13. ##### Added - Added formal MSRV policy: "We reserve the right to increment the MSRV on minor releases, however we will strive to only do it deliberately and for good reasons." The current MSRV is 1.63.0. - Added an `Arbitrary` implementation for `core::cmp::Reverse`. ##### Changed - Landed a handful of changes to the code generated by `#[derive(Arbitrary)]` that speed up compilation. ##### Fixed - Better documented bias and behavior when running out of entropy, fixed some outdated and incorrect docs related to this. *** ### [`v1.4.1`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#141) [Compare Source](https://github.com/rust-fuzz/arbitrary/compare/v1.4.0...v1.4.1) Released 2024-11-05. *** ### [`v1.4.0`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#140) [Compare Source](https://github.com/rust-fuzz/arbitrary/compare/v1.3.2...v1.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`. *** ### [`v1.3.2`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#132) [Compare Source](https://github.com/rust-fuzz/arbitrary/compare/v1.3.1...v1.3.2) Released 2023-10-30. ##### Added - Added `Arbitrary` implementations for `Arc<[T]>` and `Rc<[T]>`. [#&#8203;160](https://github.com/rust-fuzz/arbitrary/pull/160) *** ### [`v1.3.1`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#131) [Compare Source](https://github.com/rust-fuzz/arbitrary/compare/v1.3.0...v1.3.1) Released 2023-10-11. ##### Fixed - Fixed an issue with generating collections of collections in `arbitrary_take_rest` where `<Vec<Vec<u8>>>::arbitrary_take_rest` would never generate `vec![vec![]]` for example. See [#&#8203;159](https://github.com/rust-fuzz/arbitrary/pull/159) for details. *** ### [`v1.3.0`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#130) [Compare Source](https://github.com/rust-fuzz/arbitrary/compare/v1.2.3...v1.3.0) Released 2023-03-13. ##### Added - Added the ability to manually specify derived trait bounds for `Arbitrary`. See [#&#8203;138](https://github.com/rust-fuzz/arbitrary/pull/138) for details. ##### Fixed - Fixed minimal versions correctness for `syn`. *** ### [`v1.2.3`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#123) Released 2023-01-20. ##### Fixed - The `derive(Arbitrary)` will now annotate the generated `impl`s with a `#[automatically_derived]` attribute to indicate to e.g. clippy that lints should not fire for the code within the derived implementation. ### [`v1.2.2`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#122) Released 2023-01-03. ##### Fixed - Ensured that `arbitrary` and `derive_arbitrary` versions are synced up so that they don't, e.g., emit generated code that depends on newer versions of `arbitrary` than the one currently in use. [#&#8203;134](https://github.com/rust-fuzz/arbitrary/issues/134) ### [`v1.2.0`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#120) [Compare Source](https://github.com/rust-fuzz/arbitrary/compare/v1.1.7...v1.2.0) Released 2022-10-20. ##### Added - Support custom arbitrary implementation for fields on derive. [#&#8203;129](https://github.com/rust-fuzz/arbitrary/pull/129) *** ### [`v1.1.7`](https://github.com/rust-fuzz/arbitrary/compare/v1.1.6...v1.1.7) [Compare Source](https://github.com/rust-fuzz/arbitrary/compare/v1.1.6...v1.1.7) ### [`v1.1.6`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#116) [Compare Source](https://github.com/rust-fuzz/arbitrary/compare/v1.1.5...v1.1.6) Released 2022-09-20. ##### Fixed - Fixed a potential panic due to an off-by-one error in the `Arbitrary` implementation for `std::ops::Bound<T>`. *** ### [`v1.1.5`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#115) [Compare Source](https://github.com/rust-fuzz/arbitrary/compare/v1.1.4...v1.1.5) Released 2022-09-08. ##### Added - Implemented `Arbitrary` for `std::ops::Bound<T>`. ##### Fixed - Fixed a bug where `Unstructured::int_in_range` could return out-of-range integers when generating arbitrary signed integers. *** ### [`v1.1.4`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#114) [Compare Source](https://github.com/rust-fuzz/arbitrary/compare/v1.1.3...v1.1.4) Released 2022-08-29. ##### Added - Implemented `Arbitrary` for `Rc<str>` and `Arc<str>` ##### Changed - Allow overriding the error type in `arbitrary::Result` - The `Unstructured::arbitrary_loop` method will consume fewer bytes of input now. ##### Fixed - Fixed a bug where `Unstructured::int_in_range` could return out-of-range integers. *** ### [`v1.1.3`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#113) [Compare Source](https://github.com/rust-fuzz/arbitrary/compare/v1.1.2...v1.1.3) Released 2022-06-23. ##### Fixed - Fixed some potential (but highly unlikely) name-clashes inside `derive(Arbitrary)`'s generated code. [#&#8203;111](https://github.com/rust-fuzz/arbitrary/pull/111) - Fixed an edge case where `derive(Arbitrary)` for recursive types that detected an overflow would not reset the overflow detection. [#&#8203;111](https://github.com/rust-fuzz/arbitrary/pull/111) *** ### [`v1.1.2`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#112) [Compare Source](https://github.com/rust-fuzz/arbitrary/compare/1.1.1...v1.1.2) Released 2022-06-16. ##### Fixed - Fixed a warning inside `derive(Arbitrary)`-generated code. [#&#8203;110](https://github.com/rust-fuzz/arbitrary/pull/110) *** ### [`v1.1.1`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#111) Released 2022-06-14. ##### Fixed - Fixed a stack overflow when using `derive(Arbitrary)` with recursive types and empty inputs. [#&#8203;109](https://github.com/rust-fuzz/arbitrary/pull/109) *** ### [`v1.1.0`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#110) Released 2022-02-09. ##### Added - Added the `Unstructured::ratio` method to generate a boolean that is `true` at the given rate. - Added the `Unstructured::arbitrary_loop` method to call a function an arbitrary number of times. *** ### [`v1.0.3`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#103) [Compare Source](https://github.com/rust-fuzz/arbitrary/compare/v1.0.2...1.0.3) Released 2021-11-20. ##### Fixed - Fixed documentation for `Unstructured::fill_bytes`. We forgot to update this way back in [#&#8203;53](https://github.com/rust-fuzz/arbitrary/pull/53) when the behavior changed. *** ### [`v1.0.2`](https://github.com/rust-fuzz/arbitrary/blob/HEAD/CHANGELOG.md#102) [Compare Source](https://github.com/rust-fuzz/arbitrary/compare/v1.0.1...v1.0.2) Released 2021-08-25. ##### Added - `Arbitrary` impls for `HashMap`s and `HashSet`s with custom `Hasher`s [#&#8203;87](https://github.com/rust-fuzz/arbitrary/pull/87) *** </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41Mi44IiwidXBkYXRlZEluVmVyIjoiNDIuNTIuOCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJyZW5vdmF0ZS1ib3QiXX0=-->
chore(deps): update rust crate arbitrary to v1.4.2
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
d12cdf3372
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline failed
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/arbitrary-1.x-lockfile:renovate/arbitrary-1.x-lockfile
git switch renovate/arbitrary-1.x-lockfile

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/arbitrary-1.x-lockfile
git switch renovate/arbitrary-1.x-lockfile
git rebase master
git switch master
git merge --ff-only renovate/arbitrary-1.x-lockfile
git switch renovate/arbitrary-1.x-lockfile
git rebase master
git switch master
git merge --no-ff renovate/arbitrary-1.x-lockfile
git switch master
git merge --squash renovate/arbitrary-1.x-lockfile
git switch master
git merge --ff-only renovate/arbitrary-1.x-lockfile
git switch master
git merge renovate/arbitrary-1.x-lockfile
git push origin master
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mCaptcha/pow_sha256!32
No description provided.