Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump arbitrary-int from 1.2.7 to 1.3.0 #985

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 16, 2024

Bumps arbitrary-int from 1.2.7 to 1.3.0.

Changelog

Sourced from arbitrary-int's changelog.

arbitrary-int 1.3.0

Added

  • New optional feature hint, which tells the compiler that the returned value() can't exceed a maximum value. This allows the compiler to optimize faster code at the expense of unsafe code within arbitrary-int itself.
  • Various new const constructors: new_u8, new_u16, ..., new_u128 which allow creating an arbitrary int without type conversion, e.g. u5::new_u32(i) (where i is e.g. u32). This is shorter than writing u5::new(i.try_into().unwrap()), and combines two possible panic paths into one. Also, unlike try_into().unwrap(), the new constructors are usable in const contexts.
  • For non-const contexts, new_() allows any Number argument to be passed through generics.
  • as_() easily converts any Number to another. as_u8(), as_u16() for more control (and to implement the others).
  • New optional feature borsh to support binary serialization using the borsh crate.
Commits

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 <dependency name> 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 16, 2024
@jordens jordens added this pull request to the merge queue Dec 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Dec 16, 2024
Bumps [arbitrary-int](https://github.com/danlehmann/arbitrary-int) from 1.2.7 to 1.3.0.
- [Release notes](https://github.com/danlehmann/arbitrary-int/releases)
- [Changelog](https://github.com/danlehmann/arbitrary-int/blob/main/CHANGELOG.md)
- [Commits](https://github.com/danlehmann/arbitrary-int/commits)

---
updated-dependencies:
- dependency-name: arbitrary-int
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/arbitrary-int-1.3.0 branch from d31cd78 to d699d7b Compare December 16, 2024 10:32
@jordens jordens added this pull request to the merge queue Dec 16, 2024
Merged via the queue into main with commit 49069b2 Dec 16, 2024
6 of 7 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/arbitrary-int-1.3.0 branch December 16, 2024 10:44
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant