rust-embedded / embedded-hal

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

Remove feature(impl_trait_projections) from async traits. #503

Closed Dirbaio closed 10 months ago

Dirbaio commented 1 year ago

It's possible async_fn_in_traits will get stabilized before impl_trait_projections (see zulip thread).

Trying out whether it's feasible to use async_fn_in_traits only. Do not merge yet. Since it makes the code a bit uglier, we should only merge this if indeed async_fn_in_traits gets stabilized before impl_trait_projections.

EDIT: maybe impl_trait_projections does get stabilized before AFIT: https://github.com/rust-lang/rust/pull/115659

Dirbaio commented 1 year ago

impl_trait_projections will be stable on 1.75, so this is not needed anymore.