kelnos / dht-embedded-rs

Rust embedded-hal driver for DHT11 and DHT22 temperature/humidity sensors
Apache License 2.0
12 stars 7 forks source link

Support embedded-hal `1.0.0-alpha.9` #1

Closed kj800x closed 1 year ago

kj800x commented 1 year ago

I started a new project over the holidays and when I went to use dht-embedded-rs I wasn't able to (easily) find a version of my dependencies that satisfied all the requirements. My other deps wanted embedded-hal=1.0.0-alpha.9 but dht-embedded-rs wanted embedded-hal=1.0.0-alpha.8. The simplest fix seemed to be if I patched dht-embedded-rs to support embedded-hal=1.0.0-alpha.9 and then used the latest of all my other dependencies.

It's a pretty small diff to support alpha.9 with just some namespace changes, so I figured I'd submit this PR.

kelnos commented 1 year ago

Thank you!