Closed tomried closed 3 months ago
This looks fine, but fill out the PR description with a description of the changes and rational before I merge it.
Updated the description. I think the adoption of embedded-hal 1.0 is quite far with hals to update this crate without providing a backwards-compatible optional feature, what do you think?
Updated the description. I think the adoption of embedded-hal 1.0 is quite far with hals to update this crate without providing a backwards-compatible optional feature, what do you think?
I'm not sure I understand. Are you asking if this PR breaks our backward compatibility? If so, that's not a big deal because we're not at 1.0 yet.
This PR breaks backwards compatibility with hals depending on embedded-hal versions lower than 1.0. I was asking if you think that's a problem. I don't think so, because the hals I have seen have been updated to 1.0, and older hals can use the older version of our crate.
Ah yeah. I don't think it's a big deal either.
Update to embedded-hal 1.0.0 and port-expander 0.6.2. Embedded-hal 1.0.0 has breaking changes from 0.2.3, but is the first stable release without any further breaking changes. Should work without problems for any hal implementing embedded-hal 1.0.0 traits. Tested with an esp32s3 and a 20x4 LCD interfaced via i2c.