rtic-rs / rtic

Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers

Home Page:https://rtic.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rtic-monotonics depends on embedded-hal-1.0.0-rc1

explocion opened this issue · comments

Hi,
I'm trying to use rtic-monotonics in my project. However, the newest release depends on embedded-hal version 1.0.0-rc1, where many traits are removed as they are trying to ship a stable release. This creates dependency conflicts with most HAL implementations, as they depend on embedded-hal version 1.0.0-alpha.11 or lower. A practical solution is to simply downgrade. If you think this is a good idea, I'm happy to do a PR. Thanks!

Instead of downgrading, I think it is also feasible to make dependency of embedded-hal optional and put it in the default features. This should create minimal disruption to current users and code bases.

I think @Dirbaio 's comment makes sense.