embedded-hal breaking changes
Updated December 4, 2026
On this page
Latest version 1.0.0, released January 9, 2024. Source repository
Its 1.0.0-rc.1 release requires Rust 1.60.0 or later. Rust end of life dates.
- From 1.0.0-alpha.1 to 1.0.0: 97 breaking changes in 12 versions.
embedded-hal 1.0.0 breaking changes
- Removed
Code relying on those blanket implementations must use embedded-hal-nb directly. github.com - Removed
adc.Channel
The trait is gone in 1.0.0 with no replacement; code using it must drop it or use HAL-specific APIs. github.com - Removed
adc.OneShot
The trait is gone in 1.0.0 with no replacement; code using it must drop it or use HAL-specific APIs. github.com - Removed
blocking.serial.Write
Serial code must move to the embedded-io traits. github.com - Removed
capture.Capture
The trait is gone in 1.0.0 with no replacement; code using it must drop it or use HAL-specific APIs. github.com - Removed
DelayMs
Delay code must use DelayNs. github.com - Removed
DelayUs
Delay code must use DelayNs. github.com - Removed
digital.IoPin
The trait is gone in 1.0.0 with no replacement; code using it must drop it or use HAL-specific APIs. github.com - Removed
embedded_hal::adc
embedded_hal::adc was removed in embedded-hal 1.0.0 crates.io - Removed
embedded_hal::can
The CAN traits moved to the separate embedded-can crate. crates.io - Removed
embedded_hal::digital::toggleable
embedded_hal::digital::toggleable was removed in embedded-hal 1.0.0 crates.io - Removed
embedded_hal::digital::ToggleableOutputPin
ToggleableOutputPin is removed; toggle() now lives on StatefulOutputPin. crates.io - Removed
embedded_hal::digital::v1
embedded_hal::digital::v1 was removed in embedded-hal 1.0.0 crates.io - Removed
embedded_hal::digital::v1_compat
embedded_hal::digital::v1_compat was removed in embedded-hal 1.0.0 crates.io - Removed
embedded_hal::digital::v2
embedded_hal::digital::v2 was removed in embedded-hal 1.0.0 crates.io - Removed
embedded_hal::digital::v2_compat
embedded_hal::digital::v2_compat was removed in embedded-hal 1.0.0 crates.io - Removed
embedded_hal::Direction
embedded_hal::Direction was removed in embedded-hal 1.0.0 crates.io - Removed
embedded_hal::fmt
embedded_hal::fmt was removed in embedded-hal 1.0.0 crates.io - Removed
embedded_hal::prelude
The prelude is removed; traits must now be imported manually. crates.io - Removed
embedded_hal::spi::FullDuplex
embedded_hal::spi::FullDuplex was removed in embedded-hal 1.0.0 crates.io - Removed
embedded_hal::timer
embedded_hal::timer was removed in embedded-hal 1.0.0 crates.io - Removed
i2c.Read
I2C code using the granular traits must switch to I2c. github.com - Removed
pwm.Pwm
The trait is gone in 1.0.0 with no replacement; code using it must drop it or use HAL-specific APIs. github.com - Removed
qei.Qei
The trait is gone in 1.0.0 with no replacement; code using it must drop it or use HAL-specific APIs. github.com - Removed
rng
Random number code must move to the rand_core traits. github.com - Removed
spi.Transfer
SPI code using the granular traits must switch to SpiBus. github.com - Removed
spi.Write
SPI code using the granular traits must switch to SpiBus. github.com - Removed
timer.Cancel
The trait is gone in 1.0.0 with no replacement; code using it must drop it or use HAL-specific APIs. github.com - Removed
timer.CountDown
The trait is gone in 1.0.0 with no replacement; code using it must drop it or use HAL-specific APIs. github.com - Removed
timer.Periodic
The trait is gone in 1.0.0 with no replacement; code using it must drop it or use HAL-specific APIs. github.com - Removed
unproven
Builds that enable the unproven feature must drop it. github.com - Removed
watchdog.Disable
The trait is gone in 1.0.0 with no replacement; code using it must drop it or use HAL-specific APIs. github.com - Removed
watchdog.Enable
The trait is gone in 1.0.0 with no replacement; code using it must drop it or use HAL-specific APIs. github.com - Removed
watchdog.Watchdog
The trait is gone in 1.0.0 with no replacement; code using it must drop it or use HAL-specific APIs. github.com - Renamed
embedded_hal::blocking::i2c::Operation
Use embedded_hal::i2c::Operation instead. crates.io - Renamed
embedded_hal::blocking::i2c::SevenBitAddress
Use embedded_hal::i2c::SevenBitAddress instead. crates.io - Renamed
embedded_hal::blocking::i2c::TenBitAddress
Use embedded_hal::i2c::TenBitAddress instead. crates.io - Renamed
embedded_hal::digital::v2::PinState
Use embedded_hal::digital::PinState instead. crates.io - Signature changed
embedded_hal::digital::InputPin
InputPin methods now take &mut self, so code holding shared references must change. crates.io - Signature changed
embedded_hal::digital::InputPin::is_high
Was fn is_high(&self) -> bool; now fn is_high(&mut self) -> Result<bool, Self::Error>. crates.io - Signature changed
embedded_hal::digital::InputPin::is_low
Was fn is_low(&self) -> bool; now fn is_low(&mut self) -> Result<bool, Self::Error>. crates.io - Signature changed
embedded_hal::digital::OutputPin
Was trait OutputPin; now trait OutputPin: ErrorType. crates.io - Signature changed
embedded_hal::digital::OutputPin::set_high
Was fn set_high(&mut self); now fn set_high(&mut self) -> Result<(), Self::Error>. crates.io - Signature changed
embedded_hal::digital::OutputPin::set_low
Was fn set_low(&mut self); now fn set_low(&mut self) -> Result<(), Self::Error>. crates.io - Signature changed
embedded_hal::digital::StatefulOutputPin::is_set_high
Was fn is_set_high(&self) -> bool; now fn is_set_high(&mut self) -> Result<bool, Self::Error>. crates.io - Signature changed
embedded_hal::digital::StatefulOutputPin::is_set_low
Was fn is_set_low(&self) -> bool; now fn is_set_low(&mut self) -> Result<bool, Self::Error>. crates.io - Signature changed
transfer
transfer now returns Result<(), Error>; read data from the receive buffer you passed in. github.com
embedded-hal 1.0.0-rc.3 breaking changes
- Signature changed
embedded_hal::digital::StatefulOutputPin
StatefulOutputPin methods now take &mut self, so code holding shared references must change. crates.io
embedded-hal 1.0.0-rc.2 breaking changes
- Renamed
DelayUs
The DelayUs delay trait is renamed to DelayNs. Update trait imports and bounds. github.com - Renamed
get_max_duty_cycle
The pwm method get_max_duty_cycle is renamed to max_duty_cycle. Update call sites to the new name. github.com - Renamed
Operation.DelayUs
The SPI operation DelayUs is renamed to DelayNs and now takes nanosecond precision. github.com
embedded-hal 1.0.0-rc.1 breaking changes
- Removed
embedded_hal::serial
The serial traits were removed. Use the embedded-io crate instead. crates.io - Configuration changed
The minimum supported Rust version is now 1.60.0. Older toolchains can no longer build the package. github.com
embedded-hal 1.0.0-alpha.11 breaking changes
- Removed
spi
The read-only and write-only SPI traits were removed. Use the read-write bus traits instead. github.com
embedded-hal 1.0.0-alpha.10 breaking changes
- Removed
i2c._iter
The i2c _iter() methods were removed. Use transaction() instead. github.com - Signature changed
delay
Delay traits no longer return errors. Code matching on delay errors must be updated. github.com - Signature changed
SpiDevice.transaction
SpiDevice transaction now takes an operation slice instead of a closure. Update callers that pass closures. github.com
Older versions
7 older versions, each with its first changes. Sign up to see every change
Show 7 older versions
embedded-hal 1.0.0-alpha.9 breaking changes
- Removed
digital.blocking.IoPin
The digital::blocking::IoPin traits were removed. github.com - Removed
embedded_hal::blocking
The embedded-hal crate now has blocking traits only, and import paths no longer contain ::blocking. Update imports to drop the blocking segment. crates.io
And 3 more in this version.
embedded-hal 1.0.0-alpha.8 breaking changes
- Removed
adc.nb.Channel
The adc::nb::Channel trait was removed. github.com - Removed
adc.nb.OneShot
The adc::nb::OneShot trait was removed. github.com
And 3 more in this version.
embedded-hal 1.0.0-alpha.7 breaking changes
- Removed
capture.Capture
The Capture trait and its module were removed because of unconstrained associated types. github.com - Removed
pwm.Pwm
The Pwm trait and its module were removed because of unconstrained associated types. github.com
And 13 more in this version.
embedded-hal 1.0.0-alpha.6 breaking changes
- Removed
DelayMs
DelayMs was removed in favor of DelayUs with u32 as the type. Switch to DelayUs. github.com - Behavior changed
All SPI and Serial word types must implement Copy. Word types that are not Copy no longer work. github.com
And 2 more in this version.
embedded-hal 1.0.0-alpha.5 breaking changes
- Removed
The various Default marker traits are removed. github.com - Removed
rng
The rng traits are removed in favor of the rand_core crate. github.com
And 7 more in this version.
embedded-hal 1.0.0-alpha.2 breaking changes
- Removed
embedded_hal::watchdog
The watchdog API now takes ownership by move, so code reusing a watchdog value must change. crates.io - Renamed
blocking.i2c.WriteIter.try_write
The try_write method of the WriteIter trait is renamed to try_write_iter. github.com
embedded-hal 1.0.0-alpha.1 breaking changes
- Removed
embedded_hal::Capture
The Capture trait moved into the capture module. crates.io - Removed
embedded_hal::Pwm
The Pwm trait moved into the pwm module. crates.io
And 7 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.