embedded-hal
The Rust crate that defines shared traits for I²C, SPI, GPIO and delays, so a sensor driver can be written once and run on any microcontroller.
In C, drivers are usually written against a vendor's HAL. Switch from STM32 to nRF and you rewrite them. embedded-hal, maintained by the Rust Embedded Working Group, turns that dependency around. Chip-specific HAL crates implement traits like I2c and OutputPin, and drivers are generic over them. The compiler monomorphises the abstraction away, so it costs nothing at runtime.
Getting there took a while. The crate sat in the 0.2 series for years, and a whole ecosystem was built on something explicitly marked unstable. Version 1.0 landed in January 2024 and dropped several of the more ambitious traits nobody could agree on. Async variants live in a sister crate, used by Embassy among others.