-
Notifications
You must be signed in to change notification settings - Fork 14
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
Use maybe-async-cfg to add async support #16
Conversation
d11b4a3
to
61ced96
Compare
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.
Awesome work, thank you!
I just added a couple of nitpicks.
Could you also update the MSRV in the README to 1.75.0?
Sorry, I had to do a couple of fixes due to clippy failing. Could you rebase this?
We can look into making the embassy example compile after merging this.
Maybe it is worth adding a whole example subfolder inside the examples folder with all the embassy stuff instead of adding them to the main crate.
NOTE TO SELF: Add rule to release.toml to update crate version in the README and in the lib.rs
61ced96
to
9bfa2aa
Compare
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.
Great, thank you!
Thank you for your help and guidance! |
I have published this in version 1.0. Thanks! |
Superseeds #14 , #13
Also, update to embedded-hal v1 so that there is only one trait for I2C on both sides.
Closes #15
Closes #11
Heavily inspired by eldruin/tcs3472-rs#5
I could not make the example in
lib.rs
compile, even when adding the embassy dependencies, because I cannot figure out how to enable a feature for a single doctest. So I did not include the embassy deps.