kubewarden / policy-sdk-rust

Kubewarden Policy SDK for the Rust programming language
https://kubewarden.io
Apache License 2.0
8 stars 6 forks source link

chore(deps): update rust crate mockall to 0.12.0 #121

Closed renovate[bot] closed 10 months ago

renovate[bot] commented 10 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
mockall dev-dependencies minor 0.11.4 -> 0.12.0

Release Notes

asomers/mockall (mockall) ### [`v0.12.0`](https://togithub.com/asomers/mockall/blob/HEAD/CHANGELOG.md#0120---2023-12-10) [Compare Source](https://togithub.com/asomers/mockall/compare/v0.11.4...v0.12.0) ##### Added - Added `#[mockall::concretize]`, which can be used to mock some generic methods that have non-`'static` generic parameters. It works by turning the generic arguments into trait objects for the expectation. ([#​408](https://togithub.com/asomers/mockall/pull/408)) - When mocking functions with a non-default ABI (Like `extern "C"`), 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. ([#​504](https://togithub.com/asomers/mockall/pull/504)) ##### Changed - Raised predicates, which is reexported, to 3.0.0. This may affect backwards compatibility for users who make use of predicates's "color" feature. ([#​467](https://togithub.com/asomers/mockall/pull/467)) - Raised MSRV to 1.64.0 because predicates-core and predicates-tree did. ([#​430](https://togithub.com/asomers/mockall/pull/430)) ([#​467](https://togithub.com/asomers/mockall/pull/467)) - Better "No matching expectation found" messages on stable. ([#​425](https://togithub.com/asomers/mockall/pull/425)) ##### Fixed - Fixed mocking non-private inherent methods that have attributes with syn version 2.0.9 and later. ([#​486](https://togithub.com/asomers/mockall/pull/486)) - Suppress `clippy::too_many_arguments` warnings in the generated code. This is most useful when mocking static functions with exactly 7 arguments. ([#​487](https://togithub.com/asomers/mockall/pull/487)) - Fixed `unused_attributes` warnings in the generated code when mocking FFI functions that use `#[link_name]`. ([#​503](https://togithub.com/asomers/mockall/pull/503)) - Fix a panic during Drop for static methods. One way to trigger it is by calling the method more times than is allowed by a `.times()` constraint. Another way would be to explicitly panic during the `.returning` method. ([#​516](https://togithub.com/asomers/mockall/pull/516)) ##### Removed - Removed syntax deprecated since 0.9.0: using `#[automock]` directly on an `extern "C"` block, and using `trait Foo {}` syntax inside of `mock!`. ([#​476](https://togithub.com/asomers/mockall/pull/476)) - Removed default features from `predicates` dependency. Reexports no longer include `difflib`, `normalize-line-endings`, `regex` and `float-cmp` features. ([#​517](https://togithub.com/asomers/mockall/pull/517))

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), 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.



This PR has been generated by Mend Renovate. View repository job log here.