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, 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.2Release notes
Sourced from reqwest's releases.
Changelog
Sourced from reqwest's changelog.
... (truncated)
Commits
6768a8e
v0.12.2fff307b
fix(connect): ALPN missed when using socks5 proxy with rustls backend (#2164)04bf45f
fix: tls version limit for rustls (#2203)056f8c4
fix(connect): not negotiate h2 when using native-tls backend (#2165)e0ea15b
v0.12.13d78fcb
fix: Display for Error shouldn't include source (#2199)c535724
Fix binding interface when no TLS is used (#2200)d5adcba
fix: rustls extraction ofTlsInfo::peer_certificate()
being truncated (#2195)7a5df21
fix: could panic if http2 disabled but TLS negotiated h2 (#2194)d5051f9
Update version number in ReadmeUpdates
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.0.0Release notes
Sourced from serial_test's releases.
Commits
bba3db8
3.0.0ae14645
Merge pull request #104 from palfrey/serial-for-mod0dec256
Merge branch 'main' into serial-for-modcee1dc1
Add testing and parallel to package keywords2a4b641
Merge branch 'main' into serial-for-mod288d933
Merge pull request #105 from palfrey/upgrade-rustixcf9d7fe
Upgrade rustixa8d985d
Replace a single-use match with if let67d22ff
Fix some clippy issuesff2890d
Update docs for mod-level functionalityUpdates
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