Skip to content

Commit b86e020

Browse files
[deps]: Update Rust crate mockall to >=0.13.1, <0.15 (#599)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [mockall](https://redirect.github.com/asomers/mockall) | dependencies | minor | `>=0.13.1, <0.14` -> `>=0.13.1, <0.15` | --- ### Release Notes <details> <summary>asomers/mockall (mockall)</summary> ### [`v0.14.0`](https://redirect.github.com/asomers/mockall/blob/HEAD/CHANGELOG.md#0140---2025-11-22) [Compare Source](https://redirect.github.com/asomers/mockall/compare/v0.13.1...v0.14.0) ##### Added - Allow mocking structs and traits with const generics. ([#&#8203;649](https://redirect.github.com/asomers/mockall/pull/649)) - Compatibility with the `#[trait_variant::make]` macro. ([#&#8203;640](https://redirect.github.com/asomers/mockall/pull/640)) - Allow Expectations with a non-exact call count to be used in Sequences. ([#&#8203;660](https://redirect.github.com/asomers/mockall/pull/660)) ##### Changed - The MSRV is now Rust 1.77.0. ([#&#8203;650](https://redirect.github.com/asomers/mockall/pull/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. ([#&#8203;650](https://redirect.github.com/asomers/mockall/pull/650)) - Suppress `single-use-lifetimes` lints in the generated code, for cases where the orginal code wouldn't have triggered the warning. ([#&#8203;627](https://redirect.github.com/asomers/mockall/pull/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. ([#&#8203;673](https://redirect.github.com/asomers/mockall/pull/673)) - Fully qualify `Send` and `Sync` traits in generated code, allowing structs named `Send` or `Sync` to be in scope without conflicts. ([#&#8203;672](https://redirect.github.com/asomers/mockall/pull/672)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every 2nd week starting on the 2 week of the year 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/bitwarden/sdk-internal). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zMi4yIiwidXBkYXRlZEluVmVyIjoiNDIuMzIuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 14a6450 commit b86e020

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.lock

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

crates/bitwarden-api-api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mockall = ["dep:mockall"]
1717

1818
[dependencies]
1919
async-trait = { workspace = true }
20-
mockall = { version = ">=0.13.1, <0.14", optional = true }
20+
mockall = { version = ">=0.13.1, <0.15", optional = true }
2121
reqwest = { workspace = true }
2222
serde = { workspace = true }
2323
serde_json = { workspace = true }

crates/bitwarden-api-identity/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mockall = ["dep:mockall"]
1717

1818
[dependencies]
1919
async-trait = { workspace = true }
20-
mockall = { version = ">=0.13.1, <0.14", optional = true }
20+
mockall = { version = ">=0.13.1, <0.15", optional = true }
2121
reqwest = { workspace = true }
2222
serde = { workspace = true }
2323
serde_json = { workspace = true }

0 commit comments

Comments
 (0)