rust-embedded / embedded-hal

A Hardware Abstraction Layer (HAL) for embedded systems
Apache License 2.0
2.01k stars 202 forks source link

Make Cargo feature explicit #528

Closed nyurik closed 11 months ago

nyurik commented 12 months ago

To keep consistent with all other crates, and for clarity, it is best to explicitly declare defmt-03 as a feature of the embedded-hal crate. This way people can look at the [features] section rather than search through any optional dependencies. In this case it's not that big of a deal, but it keeps the pattern.

Dirbaio commented 11 months ago

it was https://github.com/tokio-rs/tokio/issues/6165, added a workaround.