VersBinarii / bme280-rs

A platform agnostic Rust driver for the Bosch BM[PE]-280
Other
59 stars 73 forks source link

Is a pinned embedded-hal necessary? #31

Closed oddlama closed 5 months ago

oddlama commented 10 months ago

Is there any reason why embedded-hal is pinned to a specific version? Usually drivers seem to require only a minimum version. This unfortunately causes this crate to break each time e.g. embassy bumps it's embedded hal dependency.

avsaase commented 6 months ago

FYI, embedded-hal and embedded-hal-async are scheduled to release 1.0 on December 28th when Rust 1.75 releases. I think embassy also plans to do a release that day so from that point forward hopefully we will have less frequent breakage due to incompatible versions.

VersBinarii commented 5 months ago

Unfortunately it was needed at the time to work around problem with embedded hal released at the time. It should not be needed with recent releases though.