Bump mockall from 0.12.1 to 0.13.1
Bumps mockall from 0.12.1 to 0.13.1.
Changelog
Sourced from mockall's changelog.
[ 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. (#618)When mocking functions with a closure argument, but not using
#[concretize], include any additional trait bounds in the trait object argument passed to.withand.returning. (#606)Fixed naming conflict when mocking multiple traits with same name but from different modules. (#601)
[ 0.13.0 ] - 2024-07-21
Added
Add the ability to use
#[concretize]with methods that have anFnMutargument. (#595)Add the ability to mock methods that use
#[auto_enum], from theauto_enumscrate. But only for methods that use RPIT; Mockall can't yet handle syntax like-> Result<(), impl T>(#590)Add the ability to mock methods that use
#[inline]or#[cold], and methods or traits that use#[must_use]. (#555)Changed
Raised MSRV to 1.71.0 due to the
C-unwindABI. (#585)No longer poison a Context object's internal
Mutexwhen panicing. This requires the "nightly" feature. (#527)Fixed
- Fixed panicing within mocked
extern "C"functions, for example due to
... (truncated)
Commits
62f92cbchore: Release46747dcFormat the CHANGELOG44d319bBetter error message when mocking structs with elided lifetimes (#622)a96a23eSuppress #[expect] attributes in the generated code (#619)dee7bcbClippy: fix unnecessary_map_or lint (#621)e1ac2e1Suppress the clippy::ref_option warning in generated code (#618)d5b3b46Clippy cleanup: needless_lifetimes (#611)97c31d2Clippy cleanup (#609)5394a9bFix missing_docs lints with the latest nightly (#607)6c5276eDuring declosurefy, make sure to include additional trait bounds (#606)- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)