Skip to content

chore(deps): update rust crate mockall to 0.14#66

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/mockall-0.x
Open

chore(deps): update rust crate mockall to 0.14#66
renovate[bot] wants to merge 1 commit intomainfrom
renovate/mockall-0.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 22, 2025

This PR contains the following updates:

Package Type Update Change
mockall dev-dependencies minor 0.130.14

Release Notes

asomers/mockall (mockall)

v0.14.0

Compare Source

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)


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 was generated by Mend Renovate. View the repository job log.

@codecov
Copy link

codecov bot commented Nov 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.95%. Comparing base (b267ff8) to head (d3db2ff).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #66      +/-   ##
==========================================
+ Coverage   48.77%   48.95%   +0.17%     
==========================================
  Files          16       16              
  Lines        2005     1906      -99     
==========================================
- Hits          978      933      -45     
+ Misses       1027      973      -54     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants