Skip to content

Commit a49afe1

Browse files
build(deps): bump mockall from 0.12.1 to 0.13.0 (#187)
Bumps [mockall](https://github.com/asomers/mockall) from 0.12.1 to 0.13.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/asomers/mockall/blob/master/CHANGELOG.md">mockall's changelog</a>.</em></p> <blockquote> <h2>[ 0.13.0 ] - 2024-07-21</h2> <h3>Added</h3> <ul> <li> <p>Add the ability to use <code>#[concretize]</code> with methods that have an <code>FnMut</code> argument. (<a href="https://redirect.github.com/asomers/mockall/pull/595">#595</a>)</p> </li> <li> <p>Add the ability to mock methods that use <code>#[auto_enum]</code>, from the <code>auto_enums</code> crate. But only for methods that use RPIT; Mockall can't yet handle syntax like <code>-&gt; Result&lt;(), impl T&gt;</code> (<a href="https://redirect.github.com/asomers/mockall/pull/590">#590</a>)</p> </li> <li> <p>Add the ability to mock methods that use <code>#[inline]</code> or <code>#[cold]</code>, and methods or traits that use <code>#[must_use]</code>. (<a href="https://redirect.github.com/asomers/mockall/pull/555">#555</a>)</p> </li> </ul> <h3>Changed</h3> <ul> <li> <p>Raised MSRV to 1.71.0 due to the <code>C-unwind</code> ABI. (<a href="https://redirect.github.com/asomers/mockall/pull/585">#585</a>)</p> </li> <li> <p>No longer poison a Context object's internal <code>Mutex</code> when panicing. This requires the &quot;nightly&quot; feature. (<a href="https://redirect.github.com/asomers/mockall/pull/527">#527</a>)</p> </li> </ul> <h3>Fixed</h3> <ul> <li>Fixed panicing within mocked <code>extern &quot;C&quot;</code> functions, for example due to unsatisfied expectations, with Rust 1.81.0 or newer. (<a href="https://redirect.github.com/asomers/mockall/pull/585">#585</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/asomers/mockall/commit/63a6b76054a160c51554839097315b98c788f3fc"><code>63a6b76</code></a> chore: Release</li> <li><a href="https://github.com/asomers/mockall/commit/b9ed860ac5555ee16f07392bcdc62e765dc8a37d"><code>b9ed860</code></a> Merge pull request <a href="https://redirect.github.com/asomers/mockall/issues/596">#596</a> from asomers/automock_gat_stabilize</li> <li><a href="https://github.com/asomers/mockall/commit/281a8ac6ecb004f3ecbdb900fa45bf8ce3c6239a"><code>281a8ac</code></a> Enable the automock_gat test without the nightly feature</li> <li><a href="https://github.com/asomers/mockall/commit/d52481f27d3b515229ad626c0620bb24fa988e8c"><code>d52481f</code></a> Update CHANGELOG for PR <a href="https://redirect.github.com/asomers/mockall/issues/595">#595</a></li> <li><a href="https://github.com/asomers/mockall/commit/5aba4b0fa34379e410d0d63e86447343bc443c0b"><code>5aba4b0</code></a> Merge pull request <a href="https://redirect.github.com/asomers/mockall/issues/595">#595</a> from asomers/mutable-fnmut-arguments</li> <li><a href="https://github.com/asomers/mockall/commit/836d100218486077c07d162e190b2cb1fc007184"><code>836d100</code></a> Make concretize work with FnMut arguments</li> <li><a href="https://github.com/asomers/mockall/commit/a65774e20e7a1d24b3f2d15cf3d25bf27670b15f"><code>a65774e</code></a> Add unit tests for declosurefy</li> <li><a href="https://github.com/asomers/mockall/commit/0949f8bbf0bb1b1f9f1f9a15a2d7d242ee177f9b"><code>0949f8b</code></a> Merge pull request <a href="https://redirect.github.com/asomers/mockall/issues/593">#593</a> from asomers/clippy-13-july-2024</li> <li><a href="https://github.com/asomers/mockall/commit/0ce33ca0d79622908e17127a7ee04cb3055fbae5"><code>0ce33ca</code></a> Clippy cleanup in the tests</li> <li><a href="https://github.com/asomers/mockall/commit/a0aff68d8db729f7e7ef8f3706fe8137c3250a21"><code>a0aff68</code></a> Merge pull request <a href="https://redirect.github.com/asomers/mockall/issues/589">#589</a> from Jujumba/docs_autolinks_fix</li> <li>Additional commits viewable in <a href="https://github.com/asomers/mockall/compare/v0.12.1...v0.13.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mockall&package-manager=cargo&previous-version=0.12.1&new-version=0.13.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 50ac653 commit a49afe1

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

Cargo.lock

Lines changed: 6 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ futures-timer = "3.0.3"
1919
hex-literal = "0.4.1"
2020
indexmap = { version = "2.0.0", features = ["std"] }
2121
libc = "0.2.142"
22-
mockall = "0.12.1"
22+
mockall = "0.13.0"
2323
multiaddr = "0.17.0"
2424
multihash = { version = "0.17.0", default-features = false, features = ["std", "multihash-impl", "identity", "sha2"] }
2525
network-interface = "1.1.1"

0 commit comments

Comments
 (0)