rust-embedded/linux-embedded-hal

Update Crate Release

RougeEtoile opened this issue · 8 comments

Currently trying to build with gpio-cdev feature flag like
linux-embedded-hal = { version ="0.3.0", features = ["gpio_cdev"] }

Gives the error

error: failed to select a version for `linux-embedded-hal`.
    ... required by package `myPackage v0.1.0 (/project)`
versions that meet the requirements `=0.3.0` are: 0.3.0

the package `myPackage` depends on `linux-embedded-hal`, with features: `gpio_cdev` but `linux-embedded-hal` does not have these features.


failed to select a version for `linux-embedded-hal` which could resolve this conflict

Version 0.3.0 of linux-embedded-hal was released in December 2019. gpio-cdev support was merged in afterward in March, 2020.

Temporary Work Around
linux-embedded-hal = { git ="https://github.com/rust-embedded/linux-embedded-hal.git", features = ["gpio_cdev"] }

Any news on a new release?

There's a new 0.4.0-alpha.0 version on crates.io now:
https://crates.io/crates/linux-embedded-hal/0.4.0-alpha.0

@rust-embedded/embedded-linux what is missing for a final 0.4.0 release?

e-h@1.0.0 :-/ though we -could- backport some of these changes to the l-e-h@0.3.x series if it was useful

ah, I see. I would say backporting depends on users' interest in gpio_cdev integration, then.
If you need it, feel free to join this conversation!

2bndy5 commented

v0.4.0 has been released. Should this be closed?

I think so. Thanks @2bndy5 !