Fixed using #[mockall::concretize] on functions whose generic types contain
trait bounds, yet are still object safe.
(#531)
Fixed mocking methods that use raw identifiers for their names. This was a
regression in 0.12.0.
(#534)
[ 0.12.0 ] - 2023-12-10
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)
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)
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)
Raised MSRV to 1.64.0 because predicates-core and predicates-tree did.
(#430)
(#467)
Better "No matching expectation found" messages on stable.
(#425)
Fixed
Fixed mocking non-private inherent methods that have attributes with syn
version 2.0.9 and later.
(#486)
Suppress clippy::too_many_arguments warnings in the generated code. This
is most useful when mocking static functions with exactly 7 arguments.
(#487)
* Fix swapping of `>>=` and `<<=` in constants.
* Add support for #[deprecated] ([#860](https://github.com/mozilla/cbindgen/issues/860)).
* Built-in support for bitflags 2.0.
* Support for "C-unwind" ABI.
* Generate bindings for non-public extern items if they are #[no_mangle].
0.25.0
* Re-release of yanked 0.24.6 as a major release
* Update MSRV to 1.57
* Support variadic arguments (`...`) ([#805](https://github.com/mozilla/cbindgen/issues/805))
* Add --depfile option ([#820](https://github.com/mozilla/cbindgen/issues/820))
* Breaking changes: The `Config` struct now has a private member.
0.24.6 (YANKED: depfile option was breaking, see #841)
* Update MSRV to 1.57
* Support variadic arguments (`...`) ([#805](https://github.com/mozilla/cbindgen/issues/805))
* Add --depfile option ([#820](https://github.com/mozilla/cbindgen/issues/820))
0.24.5
* Don't enforce tempfile version.
0.24.4
* Move expand infinite recursion fix ([#799](https://github.com/mozilla/cbindgen/issues/799))
* Add with_cpp_compat to the builder ([#796](https://github.com/mozilla/cbindgen/issues/796))
* Handle never type in return position consistently ([#780](https://github.com/mozilla/cbindgen/issues/780))
* Fix warnings ([#816](https://github.com/mozilla/cbindgen/issues/816), [#819](https://github.com/mozilla/cbindgen/issues/819))
* Updated documentation ([#788](https://github.com/mozilla/cbindgen/issues/788), [#791](https://github.com/mozilla/cbindgen/issues/791), [#792](https://github.com/mozilla/cbindgen/issues/792), [#810](https://github.com/mozilla/cbindgen/issues/810), [#823](https://github.com/mozilla/cbindgen/issues/823))
0.24.3
* Make struct expressions correctly generated through typedefs ([#768](https://github.com/mozilla/cbindgen/issues/768)).
0.24.2
* Make bitfield operators use explicit constructors.
0.24.1
* Add support for unary negation ([#765](https://github.com/mozilla/cbindgen/issues/765)).
* Make more bitfield operators constexpr ([#765](https://github.com/mozilla/cbindgen/issues/765)).
0.24.0
* Basic const generic support ([#759](https://github.com/mozilla/cbindgen/issues/759), [#760](https://github.com/mozilla/cbindgen/issues/760) [#762](https://github.com/mozilla/cbindgen/issues/762)).
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 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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Updates the requirements on http, reqwest, zip, mockall, serial_test and cbindgen to permit the latest version. Updates
http
to 1.1.0Release notes
Sourced from http's releases.
Changelog
Sourced from http's changelog.
... (truncated)
Commits
3fe7267
v1.1.096dc52f
fix: HeaderName::from_lowercase allowing NUL bytes in some casescaa8b4f
feat: addHeaderMap::try_
methods to handle capacity overflow63102bc
chore(lib): remove importing prelude AsRef traitc03cc8b
chore(header): allow clippy::should_implement_trait rule for HeaderValue::fro...4785cdd
refactor(header): rename method to follow naming convention63e7d63
doc(header): add panics and safety section to documentb8ddea7
refactor(header): add comment and lint allowing to panic in const context wor...fe1932d
refactor(status): remove redundant static lifetime79f8da5
refactor(header): ownership is not needed to iterateUpdates
reqwest
to 0.12.4Release notes
Sourced from reqwest's releases.
Changelog
Sourced from reqwest's changelog.
... (truncated)
Commits
de5dbb1
v0.12.40f126f5
tests: fix blocking test about empty bodies and content-length1073881
feat: add zstd support (#1866)1af8945
feat: add ClientBuilder::read_timeout(dur) (#2241)e99da85
refactor: fix warnings related to mutability ofself
(#2245)0720159
v0.12.39209695
Remove duplicate example for ClientBuilder::default_headers (#2236)e3a1565
fix: use lower case domain string when usingresolve
andresolve_to_addrs
...b4c491a
feat: allow fine-grained root certs for rustls (#2232)cf4295d
chore: update winreg to 0.52.0 (#2226)Updates
zip
to 1.2.3Release notes
Sourced from zip's releases.
Changelog
Sourced from zip's changelog.
... (truncated)
Commits
adb40b8
Merge pull request #118 from zip-rs/release-plz-2024-05-10T23-54-42Z3d7852a
chore: releasea385aaf
doc: Important correction: consuming package has to target Unix, e.g. this ...4a5d28e
doc: Important correction: contents might not have been extracted at allba4c693
doc: Important clarification: "any user" -> "any non-root user"c28614a
doc: Document the guarantee provided by 137672cb29a264412211cc20b78f540308a221d3137672c
fix: Remove a window when an extracted directory might be unexpectedly listab...c0691ec
Improve copyright warning123fb7b
doc: Improve copyright warning2198653
Add issue templatesUpdates
mockall
to 0.12.1Changelog
Sourced from mockall's changelog.
... (truncated)
Commits
51c4820
chore: Release20e1c6d
chore: Release9406902
Merge pull request #534 from asomers/raw_identifierb252265
Merge pull request #538 from asomers/mit-or-apache80fee05
[skip ci] Clarify license terms71823a3
Fix mocking functions that use raw identifiers for their names.d4e0710
Merge pull request #531 from asomers/concretize-boundsb1f0e78
Fix using #[concretize] on functions with bounded generic types7e4af04
chore: Released605f45
[skip ci] update version number in mockall_double/README.mdUpdates
serial_test
to 3.1.1Release notes
Sourced from serial_test's releases.
Commits
b39310b
3.1.1bf32228
Merge pull request #111 from palfrey/fix-mod-with-async2cb0880
Only test async with mod when async is on3c25842
Fix async test functions inside a serial mod block25fb948
3.1.04ccc6bd
Merge pull request #110 from palfrey/serial-mod-non-corefb32f74
Standard test attribute worked with mod, others didn't2389412
Merge pull request #109 from palfrey/remove-dashmap14aa91f
Add more details fslock names946db45
Allow unused name for LocksUpdates
cbindgen
to 0.26.0Release notes
Sourced from cbindgen's releases.
Changelog
Sourced from cbindgen's changelog.
... (truncated)
Commits
703b53c
v0.26.056f0feb
Update MSRV in Readme9b4a149
Add support for out-of-line bitfields declarations35f2e44
Update URLs85eb0f4
Bump clippy msrv to 1.6443af1eb
Handle bitflags bits method callsf72e447
CHANGES: Note #[deprecated] support.1473070
utilities: annotation: Clean-up deprecated parsing and getter.0fb5d07
Add support for #[deprecated].d8355da
Support "C-unwind" ABIDependabot 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 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