rust-embedded / embedded-hal

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

Add embedded-io, embedded-io-async, remove serial traits. #466

Closed Dirbaio closed 1 year ago

Dirbaio commented 1 year ago

As discussed previously and in today's meeting (chatlog, minutes), we've decided to not have serial traits, in favor of a more general "io" abstraction.

This PR moves the embedded-io crate to the embedded-hal repo. The crate currently living at https://github.com/embassy-rs/embedded-io, that repo will be archived once the move is complete.

Changes from the embassy repo:

The crate has been added by parts in several commits to make review easier.

The embedded-io crate has been around for more than 1 year, so it's somewhat "proven". The design is the same as std::io, which is more than proven. Highlights of uses of embedded-io in the field (see more)

Dirbaio commented 1 year ago

adressed @eldruin 's review comments