Skip to content

Commit

Permalink
build(deps): bump mockall from 0.11.4 to 0.12.1 (#106)
Browse files Browse the repository at this point in the history
Bumps [mockall](https://github.com/asomers/mockall) from 0.11.4 to
0.12.1.
<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.12.1 ] - 2023-12-21</h2>
<h3>Fixed</h3>
<ul>
<li>
<p>Fixed using <code>#[mockall::concretize]</code> on functions whose
generic types contain
trait bounds, yet are still object safe.
(<a
href="https://redirect.github.com/asomers/mockall/pull/531">#531</a>)</p>
</li>
<li>
<p>Fixed mocking methods that use raw identifiers for their names. This
was a
regression in 0.12.0.
(<a
href="https://redirect.github.com/asomers/mockall/pull/534">#534</a>)</p>
</li>
</ul>
<h2>[ 0.12.0 ] - 2023-12-10</h2>
<h3>Added</h3>
<ul>
<li>
<p>Added <code>#[mockall::concretize]</code>, which can be used to mock
some generic
methods that have non-<code>'static</code> generic parameters. It works
by turning the
generic arguments into trait objects for the expectation.
(<a
href="https://redirect.github.com/asomers/mockall/pull/408">#408</a>)</p>
</li>
<li>
<p>When mocking functions with a non-default ABI (Like <code>extern
&quot;C&quot;</code>), the mock
function will now use the same ABI as the original. Name mangling will
also
be disabled, so the mock function will be callable from external code.
For
example, from C functions.
(<a
href="https://redirect.github.com/asomers/mockall/pull/504">#504</a>)</p>
</li>
</ul>
<h3>Changed</h3>
<ul>
<li>
<p>Raised predicates, which is reexported, to 3.0.0. This may affect
backwards
compatibility for users who make use of predicates's &quot;color&quot;
feature.
(<a
href="https://redirect.github.com/asomers/mockall/pull/467">#467</a>)</p>
</li>
<li>
<p>Raised MSRV to 1.64.0 because predicates-core and predicates-tree
did.
(<a
href="https://redirect.github.com/asomers/mockall/pull/430">#430</a>)
(<a
href="https://redirect.github.com/asomers/mockall/pull/467">#467</a>)</p>
</li>
<li>
<p>Better &quot;No matching expectation found&quot; messages on stable.
(<a
href="https://redirect.github.com/asomers/mockall/pull/425">#425</a>)</p>
</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>
<p>Fixed mocking non-private inherent methods that have attributes with
syn
version 2.0.9 and later.
(<a
href="https://redirect.github.com/asomers/mockall/pull/486">#486</a>)</p>
</li>
<li>
<p>Suppress <code>clippy::too_many_arguments</code> warnings in the
generated code. This
is most useful when mocking static functions with exactly 7 arguments.
(<a
href="https://redirect.github.com/asomers/mockall/pull/487">#487</a>)</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/asomers/mockall/commit/51c4820bc6552aea22a1844c3bf9f1b44175d132"><code>51c4820</code></a>
chore: Release</li>
<li><a
href="https://github.com/asomers/mockall/commit/20e1c6d12b02e9af2e76a08b28ede4f4cd370726"><code>20e1c6d</code></a>
chore: Release</li>
<li><a
href="https://github.com/asomers/mockall/commit/940690202f2fef9b05a155196ab3fefb807642d3"><code>9406902</code></a>
Merge pull request <a
href="https://redirect.github.com/asomers/mockall/issues/534">#534</a>
from asomers/raw_identifier</li>
<li><a
href="https://github.com/asomers/mockall/commit/b2522658241966df363296eafca217e1dffe12c6"><code>b252265</code></a>
Merge pull request <a
href="https://redirect.github.com/asomers/mockall/issues/538">#538</a>
from asomers/mit-or-apache</li>
<li><a
href="https://github.com/asomers/mockall/commit/80fee05bd57df8b37b9852397dec6b7ab177e6d9"><code>80fee05</code></a>
[skip ci] Clarify license terms</li>
<li><a
href="https://github.com/asomers/mockall/commit/71823a3acc31a11a45e5b28f7612fb5ed88053af"><code>71823a3</code></a>
Fix mocking functions that use raw identifiers for their names.</li>
<li><a
href="https://github.com/asomers/mockall/commit/d4e07102b7497afe3b8d5881c3e951234e2c938c"><code>d4e0710</code></a>
Merge pull request <a
href="https://redirect.github.com/asomers/mockall/issues/531">#531</a>
from asomers/concretize-bounds</li>
<li><a
href="https://github.com/asomers/mockall/commit/b1f0e78057cdde796903f2ce931a8565979821fb"><code>b1f0e78</code></a>
Fix using #[concretize] on functions with bounded generic types</li>
<li><a
href="https://github.com/asomers/mockall/commit/7e4af040db6ed8282005cee80da89471562c6f3f"><code>7e4af04</code></a>
chore: Release</li>
<li><a
href="https://github.com/asomers/mockall/commit/d605f45ecc2cc50f7b36266619288d27f6b21a95"><code>d605f45</code></a>
[skip ci] update version number in mockall_double/README.md</li>
<li>Additional commits viewable in <a
href="https://github.com/asomers/mockall/compare/v0.11.4...v0.12.1">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.11.4&new-version=0.12.1)](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>
  • Loading branch information
dependabot[bot] authored May 7, 2024
1 parent ab431d8 commit 9afd841
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 6 deletions.
53 changes: 48 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ futures-timer = "3.0.2"
hex-literal = "0.4.1"
indexmap = { version = "2.0.0", features = ["std"] }
libc = "0.2.142"
mockall = "0.11.4"
mockall = "0.12.1"
multiaddr = "0.17.0"
multihash = { version = "0.17.0", default-features = false, features = ["std", "multihash-impl", "identity", "sha2"] }
network-interface = "1.1.1"
Expand Down

0 comments on commit 9afd841

Please sign in to comment.