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

Make library no_std compatible #5

Merged
merged 1 commit into from
Oct 27, 2023
Merged

Conversation

t-moe
Copy link
Contributor

@t-moe t-moe commented Oct 27, 2023

Hey FloppyDisck,

I made some changes to your library to make it no_std compatible.

  • Use embedded_hal::blocking::delay::DelayMs instead of std::thread::sleep
  • Make thiserror dependency an optional feature

What do you think?

* Use embedded_hal::blocking::delay::DelayMs instead of std::thread::sleep
* Make thiserror dependency an optional feature
@FloppyDisck
Copy link
Owner

Awesome, looks good so far after reviewing the code, thank you!

Im going to go ahead and bypass the checks since the only clippy issues found are pertaining to tests that I wrote, oops

@FloppyDisck FloppyDisck merged commit 7349166 into FloppyDisck:main Oct 27, 2023
2 of 3 checks passed
@FloppyDisck
Copy link
Owner

You should now be able to use the new library with sht31 = "0.2.1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants