Skip to content

chore(deps): bump mockall from 0.13.1 to 0.14.0#385

Merged
gtema merged 1 commit intomainfrom
dependabot/cargo/mockall-0.14.0
Nov 24, 2025
Merged

chore(deps): bump mockall from 0.13.1 to 0.14.0#385
gtema merged 1 commit intomainfrom
dependabot/cargo/mockall-0.14.0

Conversation

@dependabot
Copy link
Contributor

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

Bumps mockall from 0.13.1 to 0.14.0.

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)

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

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 dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Nov 24, 2025
@github-actions
Copy link

github-actions bot commented Nov 24, 2025

🦢 Load Test Results

Goose Attack Report

Plan Overview

Action Started Stopped Elapsed Users
Increasing 25-11-24 09:05:24 25-11-24 09:05:26 00:00:02 0 → 4
Maintaining 25-11-24 09:05:26 25-11-24 09:05:56 00:00:30 4
Decreasing 25-11-24 09:05:56 25-11-24 09:05:56 00:00:00 0 ← 4

Request Metrics

Method Name # Requests # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
GET 11482 0 9.95 6 22 382.73 0.00
Aggregated 11482 0 9.95 6 22 382.73 0.00

Response Time Metrics

Method Name 50%ile (ms) 60%ile (ms) 70%ile (ms) 80%ile (ms) 90%ile (ms) 95%ile (ms) 99%ile (ms) 100%ile (ms)
GET 8 9 13 13 14 14 16 22
Aggregated 8 9 13 13 14 14 16 22

Status Code Metrics

Method Name Status Codes
GET 11,482 [200]
Aggregated 11,482 [200]

Transaction Metrics

Transaction # Times Run # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
ListUsers
0.0 0 0 0.00 0 0 0.00 0.00
0.1 7218 0 7.84 6 16 240.60 0.00
ValidateToken
1.0 0 0 0.00 0 0 0.00 0.00
1.1 4264 0 13.61 11 22 142.13 0.00
Aggregated 11482 0 9.95 6 22 382.73 0.00

Scenario Metrics

Transaction # Users # Times Run Average (ms) Min (ms) Max (ms) Scenarios/s Iterations
ListUsers 2 7216 7.84 6 16 240.53 3608.00
ValidateToken 2 4262 13.62 11 22 142.07 2131.00
Aggregated 4 11478 9.98 6 22 382.60 5739.00

Error Metrics

Method Name # Error

View full report

Bumps [mockall](https://github.com/asomers/mockall) from 0.13.1 to 0.14.0.
- [Changelog](https://github.com/asomers/mockall/blob/master/CHANGELOG.md)
- [Commits](asomers/mockall@v0.13.1...v0.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@gtema gtema force-pushed the dependabot/cargo/mockall-0.14.0 branch from d2612dc to c6f60c0 Compare November 24, 2025 08:58
@github-actions
Copy link

🐰 Bencher Report

Branchdependabot/cargo/mockall-0.14.0
Testbedubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
nanoseconds (ns)
(Result Δ%)
Upper Boundary
nanoseconds (ns)
(Limit %)
fernet token/project📈 view plot
🚷 view threshold
1,494.30 ns
(+20.55%)Baseline: 1,239.54 ns
1,597.38 ns
(93.55%)
get_fernet_token_timestamp/project📈 view plot
🚷 view threshold
162.51 ns
(+1.52%)Baseline: 160.08 ns
221.58 ns
(73.34%)
🐰 View full continuous benchmarking report in Bencher

@gtema gtema merged commit 551aaf8 into main Nov 24, 2025
25 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/mockall-0.14.0 branch November 24, 2025 09:12
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

Comments