Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 1, 2025

Updates the requirements on embedded-io to permit the latest version.

Commits
  • 21e547a Merge pull request #708 from Dirbaio/release-0.7.1
  • ed3297e Release embedded-io 0.7.1
  • 4949c74 io: remove Read/Write supertrait for ReadReady/WriteReady.
  • a926c2a Merge pull request #679 from chrysn-pull-requests/embedded-io-07
  • 9123afb Release embedded-io{,*} 0.7
  • cb4f7a4 Merge pull request #697 from hermit-os/io-vec_deque
  • 8c2b548 Merge pull request #696 from hermit-os/async-write-flush
  • d75daf9 feat(async-io): make async Write::flush a required method
  • c5a45ae Merge pull request #706 from ColinFinck/patch-1
  • 3332728 Update embedded-io README for defmt feature and MSRV
  • 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-io](https://github.com/rust-embedded/embedded-hal) to permit the latest version.
- [Release notes](https://github.com/rust-embedded/embedded-hal/releases)
- [Commits](rust-embedded/embedded-hal@embedded-io-v0.6.1...embedded-io-v0.7.1)

---
updated-dependencies:
- dependency-name: embedded-io
  dependency-version: 0.7.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 1, 2025
@BartMassey
Copy link
Member

Fixed the new dependency on core::fmt::Error. This becomes a breaking change in this crate, I think, and thus is kind of a big deal. Review definitely required.

@BartMassey BartMassey requested a review from qwandor October 1, 2025 20:54
}
}

impl core::error::Error for Error {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional, but we could consider using thiserror to derive these implementations.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thought about it, but decided the dependency wasn't worth it. Would be interested in any counterpoint!

}

impl core::fmt::Display for Error {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Add use statements for Display and Formatter rather than full paths here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replaced core::fmt with fmt since that's what we're doing elsewhere in this file already. Hope that's OK.

@BartMassey BartMassey force-pushed the dependabot/cargo/nrf-hal-common/embedded-io-0.7.1 branch from 7e4810c to 4739060 Compare October 2, 2025 22:52
@BartMassey BartMassey force-pushed the dependabot/cargo/nrf-hal-common/embedded-io-0.7.1 branch from 4739060 to 9fbed1e Compare October 2, 2025 22:53
@BartMassey
Copy link
Member

Thanks much for the careful review. Hope this is OK now.

@BartMassey BartMassey merged commit 00e909c into master Oct 3, 2025
5 checks passed
@BartMassey BartMassey deleted the dependabot/cargo/nrf-hal-common/embedded-io-0.7.1 branch October 3, 2025 21:26
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.

2 participants