embedded-hal v1.0 now released!
2024-01-09The Rust Embedded Working Group is proud to announce the release of embedded-hal
version 1.0 together with the
companion crates embedded-hal-bus
, embedded-hal-async
and embedded-hal-nb
.
Check out the repository, the API documentation and the migration guide.
The embedded-hal
crates provide traits (interfaces) for using peripherals commonly available in microcontrollers
such as GPIO, UART, SPI or I2C. They allow writing drivers (for sensors, displays, actuators, network adapters, etc.) in
a generic way, so they work on any microcontroller with an embedded-hal
implementation without
modifying them. It's a central piece of the Embedded Rust ecosystem, ensuring interoperability throughout.
The 1.0 release has been in the works since 2020. Now that it's out, we consider all
traits in it to be stable. The plan is to extend embedded-hal
with more traits in future 1.x releases,
not doing more breaking changes (i.e. there are no plans for a 2.0 release). This will provide a stable
base for building HALs and drivers.
So, what's new in embedded-hal
1.0?