cat-in-136 / ws2812-esp32-rmt-driver

WS2812 driver using ESP32 RMT for Rust
MIT License
40 stars 21 forks source link

fix build failure due to breaking change in embedded-hal-async #38

Closed cat-in-136 closed 5 months ago

cat-in-136 commented 5 months ago

Build failed due to the embedded-hal-async breaking change that rustc 1.74.0-nightly is required to build it. To resolve this issue, make the dependency version of esp-idf-hal from ">= 0.42" to "0.42".

error: package `embedded-hal-async v1.0.0` cannot be built because it requires rustc 1.75 or newer, while the currently active rustc version is 1.74.0-nightly
Either upgrade to rustc 1.75 or newer, or use
cargo update embedded-hal-async@1.0.0 --precise ver
where `ver` is the latest version of `embedded-hal-async` supporting rustc 1.74.0-nightly