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

Update mockall requirement from 0.11 to 0.13 #499

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 22, 2024

Updates the requirements on mockall to permit the latest version.

Changelog

Sourced from mockall's changelog.

[ 0.13.0 ] - 2024-07-21

Added

  • Add the ability to use #[concretize] with methods that have an FnMut argument. (#595)

  • Add the ability to mock methods that use #[auto_enum], from the auto_enums crate. But only for methods that use RPIT; Mockall can't yet handle syntax like -> Result<(), impl T> (#590)

  • Add the ability to mock methods that use #[inline] or #[cold], and methods or traits that use #[must_use]. (#555)

Changed

  • Raised MSRV to 1.71.0 due to the C-unwind ABI. (#585)

  • No longer poison a Context object's internal Mutex when panicing. This requires the "nightly" feature. (#527)

Fixed

  • Fixed panicing within mocked extern "C" functions, for example due to unsatisfied expectations, with Rust 1.81.0 or newer. (#585)

[ 0.12.1 ] - 2023-12-21

Fixed

  • Fixed using #[mockall::concretize] on functions whose generic types contain trait bounds, yet are still object safe. (#531)

  • Fixed mocking methods that use raw identifiers for their names. This was a regression in 0.12.0. (#534)

[ 0.12.0 ] - 2023-12-10

Added

  • Added #[mockall::concretize], which can be used to mock some generic methods that have non-'static generic parameters. It works by turning the

... (truncated)

Commits
  • 63a6b76 chore: Release
  • b9ed860 Merge pull request #596 from asomers/automock_gat_stabilize
  • 281a8ac Enable the automock_gat test without the nightly feature
  • d52481f Update CHANGELOG for PR #595
  • 5aba4b0 Merge pull request #595 from asomers/mutable-fnmut-arguments
  • 836d100 Make concretize work with FnMut arguments
  • a65774e Add unit tests for declosurefy
  • 0949f8b Merge pull request #593 from asomers/clippy-13-july-2024
  • 0ce33ca Clippy cleanup in the tests
  • a0aff68 Merge pull request #589 from Jujumba/docs_autolinks_fix
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jul 22, 2024
rukai and others added 2 commits August 1, 2024 15:01
Updates the requirements on [mockall](https://github.com/asomers/mockall) to permit the latest version.
- [Changelog](https://github.com/asomers/mockall/blob/master/CHANGELOG.md)
- [Commits](asomers/mockall@v0.11.0...v0.13.0)

---
updated-dependencies:
- dependency-name: mockall
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/mockall-0.13 branch from c6f0c3c to b7fb33e Compare August 1, 2024 19:02
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.

1 participant