Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 24, 2025

Updates the requirements on mockall to permit the latest version.

Changelog

Sourced from mockall's changelog.

[ 0.14.0 ] - 2025-11-22

Added

  • Allow mocking structs and traits with const generics. (#649)

  • Compatibility with the #[trait_variant::make] macro. (#640)

  • Allow Expectations with a non-exact call count to be used in Sequences. (#660)

Changed

  • The MSRV is now Rust 1.77.0. (#650)

Fixed

  • No longer poison a static mock method's internal Mutex when panicing, even when using a stable Rust compiler. Also, no longer poison it even if there is no Context object. For example, if the user never set an Expectation at all. (#650)

  • Suppress single-use-lifetimes lints in the generated code, for cases where the orginal code wouldn't have triggered the warning. (#627)

  • Fix mocking foreign functions with a variadic argument and no pattern, for example fn foo(...) as opposed to fn bar(x: ...). That worked in prior versions of Mockall only until Rust 1.93.0, which made such arguments illegal for Rust functions. (#673)

  • Fully qualify Send and Sync traits in generated code, allowing structs named Send or Sync to be in scope without conflicts. (#672)

[ 0.13.1 ] - 2024-11-17

Fixed

  • Suppress warnings about the #[expect] lint, new in Rust 1.81.0, in generated code. (#619)

  • Suppress the #[clippy::ref_option] warning, new in Rust 1.83.0, in generated code.

... (truncated)

Commits
  • 4401e5a chore: Release
  • 73e6c8b Merge pull request #649 from jonatanzeidler/f.const-generics
  • c8920ba Add a CHANGELOG entry for PR #649
  • dcbad06 Actually use a struct in the const_generic_struct_with_static_method test
  • e9d52fb Don't create () fields for each const generic paramters
  • b734232 Allow const generics in automock
  • b2133c9 Allow methods on mocks to be called with a range of times in a Sequence (#660)
  • ae37861 Fully qualify Send and Sync marker traits (#672)
  • 695e55a Fix mocking foreign functions with a variadic argument and no pattern (#673)
  • d50aa1d improve error message (#668)
  • 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)

@dependabot dependabot bot added type:dependabot Created by dependabot type:dependencies Pull requests that update a dependency file labels Nov 24, 2025
@codecov-commenter
Copy link

codecov-commenter commented Nov 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release/202502@177b226). Learn more about missing BASE report.

Additional details and impacted files
@@               Coverage Diff                @@
##             release/202502    #796   +/-   ##
================================================
  Coverage                  ?   5.03%           
================================================
  Files                     ?      31           
  Lines                     ?    6231           
  Branches                  ?     202           
================================================
  Hits                      ?     314           
  Misses                    ?    5916           
  Partials                  ?       1           
Flag Coverage Δ
HidPkg 2.79% <ø> (?)
MsWheaPkg 7.37% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.13.0...v0.14.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/mockall-0.14.0 branch from 12bf8a9 to b497769 Compare December 1, 2025 12:52
@apop5 apop5 enabled auto-merge (squash) December 11, 2025 22:41
@apop5 apop5 merged commit c1b84f9 into release/202502 Dec 13, 2025
28 checks passed
@apop5 apop5 deleted the dependabot/cargo/mockall-0.14.0 branch December 13, 2025 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:dependabot Created by dependabot type:dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants