-
Notifications
You must be signed in to change notification settings - Fork 147
Update embedded-io requirement from 0.6.1 to 0.7.1 in /nrf-hal-common #532
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-io requirement from 0.6.1 to 0.7.1 in /nrf-hal-common #532
Conversation
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]>
Fixed the new dependency on |
} | ||
} | ||
|
||
impl core::error::Error for Error {} |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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!
nrf-hal-common/src/uarte.rs
Outdated
} | ||
|
||
impl core::fmt::Display for Error { | ||
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
7e4810c
to
4739060
Compare
4739060
to
9fbed1e
Compare
Thanks much for the careful review. Hope this is OK now. |
Updates the requirements on embedded-io to permit the latest version.
Commits
21e547a
Merge pull request #708 from Dirbaio/release-0.7.1ed3297e
Release embedded-io 0.7.14949c74
io: removeRead
/Write
supertrait forReadReady
/WriteReady
.a926c2a
Merge pull request #679 from chrysn-pull-requests/embedded-io-079123afb
Release embedded-io{,*} 0.7cb4f7a4
Merge pull request #697 from hermit-os/io-vec_deque8c2b548
Merge pull request #696 from hermit-os/async-write-flushd75daf9
feat(async-io): make asyncWrite::flush
a required methodc5a45ae
Merge pull request #706 from ColinFinck/patch-13332728
Update embedded-io README for defmt feature and MSRVDependabot 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)