---
title: "esp-idf-hal 0.48.0 Breaking Changes on crates.io | Since.dev"
description: "What each esp-idf-hal release removed, renamed or changed: 15 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/esp-idf-hal
last_updated: 2026-12-04
---

# esp-idf-hal breaking changes

esp-idf-hal 0.48.0 (November 23, 2026) is its newest release with breaking changes, 15 of them. The first: Removed esp_idf_hal::gpio::Pins::gpio29. Every breaking API change we have recorded in esp-idf-hal on crates.io: 15 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.48.0`, released November 23, 2026. [Source repository](https://github.com/esp-rs/esp-idf)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## esp-idf-hal 0.48.0 breaking changes

esp-idf-hal 0.48.0, released November 23, 2026: 15 breaking changes.

- **Removed** `esp_idf_hal::gpio::Pins::gpio29`  

esp_idf_hal::gpio::Pins::gpio29 was removed in esp-idf-hal 0.48.0 [crates.io](https://crates.io/crates/esp-idf-hal/0.48.0)
- **Removed** `esp_idf_hal::gpio::Pins::gpio41`  

esp_idf_hal::gpio::Pins::gpio41 was removed in esp-idf-hal 0.48.0 [crates.io](https://crates.io/crates/esp-idf-hal/0.48.0)
- **Removed** `esp_idf_hal::rmt::encoder::EncoderState::EncodingComplete`  

esp_idf_hal::rmt::encoder::EncoderState::EncodingComplete was removed in esp-idf-hal 0.48.0 [crates.io](https://crates.io/crates/esp-idf-hal/0.48.0)
- **Removed** `esp_idf_hal::rmt::encoder::EncoderState::EncodingMemoryFull`  

esp_idf_hal::rmt::encoder::EncoderState::EncodingMemoryFull was removed in esp-idf-hal 0.48.0 [crates.io](https://crates.io/crates/esp-idf-hal/0.48.0)
- **Removed** `esp_idf_hal::rmt::encoder::EncoderState::EncodingReset`  

EncodingReset is now the empty set rather than a variant. Code that names it must change. [crates.io](https://crates.io/crates/esp-idf-hal/0.48.0)
- **Removed** `esp_idf_hal::rmt::encoder::EncoderState::EncodingWithEof`  

esp_idf_hal::rmt::encoder::EncoderState::EncodingWithEof was removed in esp-idf-hal 0.48.0 [crates.io](https://crates.io/crates/esp-idf-hal/0.48.0)
- **Removed** `rmt.encoder.EncoderState`  

The From conversions from and to rmt_encode_state_t are removed. Custom encoders need the enumset crate and must use the new set type. [github.com](https://github.com/esp-rs/esp-idf/blob/esp-idf-hal-v0.48.0/esp-idf-hal/CHANGELOG.md)
- **Behavior changed** `PinDriver.disabled`  

PinDriver::disabled now really disables the pin's input and output. Code that relied on the old behavior may see different pin behavior. [github.com](https://github.com/esp-rs/esp-idf/blob/esp-idf-hal-v0.48.0/esp-idf-hal/CHANGELOG.md)
- **Behavior changed** `PinDriver.try_into_disabled`  

PinDriver::disabled and try_into_disabled now really disable the pin's input and output. Code that relied on the old behavior may see different pin levels or input readings. [github.com](https://github.com/esp-rs/esp-idf/blob/esp-idf-hal-v0.48.0/esp-idf-hal/CHANGELOG.md)
- **Behavior changed** `Pulse.new_with_duration`  

A non-zero duration shorter than one tick now returns ESP_ERR_INVALID_ARG instead of rounding to 0 ticks. Code relying on the rounding must handle the error. [github.com](https://github.com/esp-rs/esp-idf/blob/esp-idf-hal-v0.48.0/esp-idf-hal/CHANGELOG.md)
- **Signature changed** `esp_idf_hal::rmt::encoder::Encoder::encode`  

Was fn encode(&mut self, handle: &mut RmtChannelHandle, primary_data: &\[Self::Item\]) -> (usize, EncoderState); now fn encode(&mut self, handle: &mut RmtChannelHandle, primary_data: &\[Self::Item\]) -> (usize, EnumSet\<EncoderState>). [crates.io](https://crates.io/crates/esp-idf-hal/0.48.0)
- **Signature changed** `esp_idf_hal::ulp::UlpDriver`  

Was struct UlpDriver<'d>(PhantomData<&'d mut ()>); now struct UlpDriver<'d>(core::marker::PhantomData<&'d mut ()>). [crates.io](https://crates.io/crates/esp-idf-hal/0.48.0)
- **Signature changed** `esp_idf_hal::ulp::UlpDriver::new`  

Was fn new(ulp: ULP<'d>) -> Result\<Self, esp_idf_sys::EspError>; now fn new(\_ulp: ULP<'d>) -> Result\<Self, esp_idf_sys::EspError>. [crates.io](https://crates.io/crates/esp-idf-hal/0.48.0)
- **Signature changed** `esp_idf_hal::usb_serial::UsbDMinGpio`  

Was type UsbDMinGpio<'d> = gpio::Gpio19<'d>; now type UsbDMinGpio<'d> = gpio::Gpio33<'d>. [crates.io](https://crates.io/crates/esp-idf-hal/0.48.0)
- **Signature changed** `rmt.encoder.EncoderState`  

EncoderState is now EnumSet\<EncoderState>, and Encoder::encode returns that set. Code matching on the old enum must be updated. [github.com](https://github.com/esp-rs/esp-idf/blob/esp-idf-hal-v0.48.0/esp-idf-hal/CHANGELOG.md)

## Related packages

- [esp-idf-svc](https://since.dev/packages/crates/esp-idf-svc.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
