Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update embedded-hal-mock requirement from 0.10.0 to 0.11.1 #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 3, 2024

Updates the requirements on embedded-hal-mock to permit the latest version.

Changelog

Sourced from embedded-hal-mock's changelog.

0.11.1 - 2024-06-02

This release only includes a documentation fix (with regards to default-enabled Cargo features), but no code changes.

0.11.0 - 2024-05-30

This release adds support for various async APIs as defined in embedded-hal-async. To use these features, you need to enable the embedded-hal-async Cargo feature.

If you're upgrading from an earlier version, please note that the pin module was renamed to digital to match embedded-hal.

Added

  • Add ToggleableOutputPin support for eh0::digital::Mock (#89)
  • Add StatefulOutputPin support for eh1::digital::Mock (#89)
  • Async support for eh1::i2c::Mock (#119)
  • Async support for eh1::digital::Mock (#91)
  • Async delay for NoopDelay / StdSleep (#104)
  • New CheckedDelay mock that supports both sync and async delays (#104)

Changed

  • Rename pin module to digital to match embedded-hal (#113)
  • Improve top level usage docs (#117)

0.10.0 - 2024-01-10

This release contains a big change: embedded-hal-mock now supports both embedded-hal 0.x and 1.x! The two variants are accessible through embedded_hal_mock::eh0::* and embedded_hal_mock::eh1::*. If there are any issues, leave feedback in the GitHub issue tracker.

Additionally, tests now fail if you forgot to call .done(). This should reduce the chance of accidentally writing a broken test.

This release contains commits by 12 different people, thanks a lot for the contributions!

Migrating to 0.10.0

  • Update your imports: Change use embedded_hal_mock::* to use embedded_hal_mock::eh0::*
  • Rename all .expect(...) calls on mocks to .update_expectations(...)
  • Rename all eh0::delay::MockNoop usages to eh0::delay::NoopDelay
  • Run your tests to ensure that you don't have any missing .done() calls in

... (truncated)

Commits
  • 6b69d2f Release v0.11.1
  • 67e64cb README: Switch patched dependency from eh0 to eh1
  • a11431d Fix bug in documentation (eh1 is enabled by default)
  • 93ceef8 Release v0.11.0
  • 7ea451b Merge pull request #89 from cdunster/feat/toggleable-output-pin
  • 2654fc4 Add StatefulOutputPin support for eh1::digital::Mock
  • 9024ffb Add ToggleableOutputPin support for eh0::digital::Mock
  • 989059f Implement embedded_hal_async::Wait for eh1::digital::Mock (#91)
  • d1e353c Merge pull request #120 from dbrgn/cleanup
  • 8627c77 Rename "buff" to "buf" everywhere for consistency
  • 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 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [embedded-hal-mock](https://github.com/dbrgn/embedded-hal-mock) to permit the latest version.
- [Changelog](https://github.com/dbrgn/embedded-hal-mock/blob/main/CHANGELOG.md)
- [Commits](dbrgn/embedded-hal-mock@v0.10.0...v0.11.1)

---
updated-dependencies:
- dependency-name: embedded-hal-mock
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants