---
title: "toml_edit 0.25.0+spec-1.1.0 Breaking Changes on crates.io"
description: "What each toml_edit release removed, renamed or changed: 99 breaking changes in 8 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/toml_edit
last_updated: 2026-12-04
---

# toml_edit breaking changes

toml_edit 0.25.0+spec-1.1.0 (February 11, 2026) is its newest release with breaking changes, 5 of them. The first: Serde support now allows borrowed keys and values in toml_edit 0.25.0+spec-1.1.0. Every breaking API change we have recorded in toml_edit on crates.io: 99 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.25.21+spec-1.1.0`, released November 25, 2026. [Source repository](https://github.com/toml-rs/toml)

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

- From [0.13.0](#v-0-13-0) to [0.25.0+spec-1.1.0](#v-0-25-0-spec-1-1-0): 97 breaking changes in 7 versions.

## toml_edit 0.25.0+spec-1.1.0 breaking changes

toml_edit 0.25.0+spec-1.1.0, released February 11, 2026: 5 breaking changes.

- **Behavior changed**  

Serde deserialization now accepts borrowed keys and values, which changes how existing serde bounds and generics behave; check code that depends on the previous ownership requirements. [github.com](https://github.com/toml-rs/toml/commit/1fb6eba6abbb6f1e445b1c163443e6bc90ee8bd1)
- **Behavior changed**  

Datetime values now track optional seconds and nanoseconds, so code that builds or matches datetime values may need to change. [github.com](https://github.com/toml-rs/toml/commit/dc7d979073bbd6ea634ce38f1e5c800e94df080a)
- **Behavior changed**  

Datetime values now track optional seconds and nanoseconds, so code that builds or matches datetime values may need to change. [github.com](https://github.com/toml-rs/toml/commit/b09eace03620e6816803eb81b7ddc283c1821951)
- **Behavior changed**  

Serde deserialization now accepts borrowed keys, which can change how existing serde bounds and generics behave. [github.com](https://github.com/toml-rs/toml/commit/5154d6d2d20a1bf5dc35adc8b2b0df0030a3cbcb)
- **Behavior changed**  

Serde deserialization now accepts borrowed values, which can change how existing serde bounds and generics behave. [github.com](https://github.com/toml-rs/toml/commit/9fe1ab19d69f0f00d1ad43aecfd2398c47a489e1)

## toml_edit 0.24.0+spec-1.1.0 breaking changes

toml_edit 0.24.0+spec-1.1.0, released December 18, 2025: 3 breaking changes.

- **Removed** `toml_edit::InlineTable::set_preamble`  

toml_edit::InlineTable::set_preamble was removed in toml_edit 0.24.0+spec-1.1.0 [crates.io](https://crates.io/crates/toml%5Fedit/0.24.0%2Bspec-1.1.0)
- **Renamed** `toml_edit::InlineTable::preamble`  

Use toml_edit::InlineTable::trailing instead. [crates.io](https://crates.io/crates/toml%5Fedit/0.24.0%2Bspec-1.1.0)
- **Signature changed** `toml_edit::Table::set_position`  

The set_position method now accepts None as a value, so callers that pass a concrete position must update to the new parameter type. [crates.io](https://crates.io/crates/toml%5Fedit/0.24.0%2Bspec-1.1.0)

## toml_edit 0.23.0 breaking changes

toml_edit 0.23.0, released July 8, 2025: 38 breaking changes.

- **Removed** `perf`  

The perf feature of toml_edit was removed. Code or Cargo.toml entries enabling it will no longer build. [github.com](https://github.com/toml-rs/toml/commit/d64add0e5d7a74a245b536dc5900741315713677)
- **Removed** `toml_edit::de::Deserializer::new`  

Use Deserializer::from instead. [crates.io](https://crates.io/crates/toml%5Fedit/0.23.0)
- **Removed** `toml_edit::ImDocument::as_item`  

toml_edit::ImDocument::as_item was removed in toml_edit 0.23.0 [crates.io](https://crates.io/crates/toml%5Fedit/0.23.0)
- **Removed** `toml_edit::ImDocument::as_table`  

toml_edit::ImDocument::as_table was removed in toml_edit 0.23.0 [crates.io](https://crates.io/crates/toml%5Fedit/0.23.0)
- **Removed** `toml_edit::ImDocument::into_item`  

toml_edit::ImDocument::into_item was removed in toml_edit 0.23.0 [crates.io](https://crates.io/crates/toml%5Fedit/0.23.0)
- **Removed** `toml_edit::ImDocument::into_mut`  

toml_edit::ImDocument::into_mut was removed in toml_edit 0.23.0 [crates.io](https://crates.io/crates/toml%5Fedit/0.23.0)
- **Removed** `toml_edit::ImDocument::into_table`  

toml_edit::ImDocument::into_table was removed in toml_edit 0.23.0 [crates.io](https://crates.io/crates/toml%5Fedit/0.23.0)
- **Removed** `toml_edit::ImDocument::iter`  

toml_edit::ImDocument::iter was removed in toml_edit 0.23.0 [crates.io](https://crates.io/crates/toml%5Fedit/0.23.0)
- **Removed** `toml_edit::ImDocument::new`  

toml_edit::ImDocument::new was removed in toml_edit 0.23.0 [crates.io](https://crates.io/crates/toml%5Fedit/0.23.0)
- **Removed** `toml_edit::ImDocument::parse`  

toml_edit::ImDocument::parse was removed in toml_edit 0.23.0 [crates.io](https://crates.io/crates/toml%5Fedit/0.23.0)

And 28 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## toml_edit 0.22.0 breaking changes

toml_edit 0.22.0, released February 5, 2024: 1 breaking change.

- **Signature changed** `toml_edit::Key::with_decor`  

Was fn with_decor(mut self, decor: Decor) -> Self; now fn with_decor(self, decor: Decor) -> Self. [crates.io](https://crates.io/crates/toml%5Fedit/0.22.0)

## toml_edit 0.21.0 breaking changes

toml_edit 0.21.0, released November 6, 2023: 1 breaking change.

- **Configuration changed**  

The commit is marked as a breaking change and makes the parser or display support optional, so projects relying on them may need to enable the matching feature. [github.com](https://github.com/toml-rs/toml/commit/ef9fd0a0bda34c2a1b9fc55baa2ec5bf79726d12)

## toml_edit 0.19.0 breaking changes

toml_edit 0.19.0, released January 27, 2023: 5 breaking changes.

- **Removed** `easy`  

The easy API module was removed in this release. Code that uses it must be rewritten to use the remaining toml_edit API. [github.com](https://github.com/toml-rs/toml/commit/941a43d19f85836f98ea1f073bb01f473eed16f4)
- **Removed** `pretty`  

The deprecated pretty functions were removed from the serializer. Code calling them must stop using them. [github.com](https://github.com/toml-rs/toml/commit/86280d7eb9bd443a55cd2f037cb832be120bf7e4)
- **Removed** `tables_last`  

The deprecated tables_last function was removed from the serializer. Code calling it must stop using it. [github.com](https://github.com/toml-rs/toml/commit/9bbb831b3fafbf626691271f9a2c3c9769a3f318)
- **Removed** `toml_edit::de::Error::line_col`  

The deprecated line_col function on Error was removed. Code calling it will no longer compile. [crates.io](https://crates.io/crates/toml%5Fedit/0.19.0)
- **Removed** `toml_edit::TomlError::line_col`  

toml_edit::TomlError::line_col was removed in toml_edit 0.19.0 [crates.io](https://crates.io/crates/toml%5Fedit/0.19.0)

## Older versions

2 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### toml_edit 0.18.0 breaking changes

toml_edit 0.18.0, released January 23, 2023: 44 breaking changes.

- **Removed** `from_slice`  

The from_slice function was removed. [github.com](https://github.com/toml-rs/toml/commit/9f98678bca9937e6f2bdf62a833d160bb1865cd6)
- **Removed** `Repr`  

The Display implementation for Repr was removed. [github.com](https://github.com/toml-rs/toml/commit/08fb6490fa75b07f574f5fd61d37f3901aec0618)

And 42 more in this version.

### toml_edit 0.13.0 breaking changes

toml_edit 0.13.0, released January 13, 2022: 2 breaking changes.

- **Behavior changed** `InlineTable.iter`  

The iter, get, and contains_key functions were made consistent across Table and InlineTable, ignoring Item::None. Code relying on seeing Item::None entries must be updated. [github.com](https://github.com/toml-rs/toml/blob/v0.13.0/CHANGELOG.md)
- **Behavior changed** `Table.iter`  

The iter, get, and contains_key functions were made consistent across Table and InlineTable, ignoring Item::None. Code relying on seeing Item::None entries must be updated. [github.com](https://github.com/toml-rs/toml/blob/v0.13.0/CHANGELOG.md)

## Related packages

- [toml](https://since.dev/packages/crates/toml.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.
