NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #73 most downloaded on crates.io
A native Rust encoder and decoder of TOML-formatted files and streams. Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures.
Last release 18 days ago
10 Sep 2026
Release timing varies
gaps range from 8 days to 3 months
Most releases are documented
notes for 37 of the last 60 stable releases
3 versions withdrawn
withdrawn after publishing
12 years old
120 releases · first in 2014
Removed deprecated Error::line_col infavor of Error::span
Offset::Custom changed from tracking hours+minutes to minutesOffset::Customs parser now enforces a range of minutesError::line_col infavor of Error::spanser::tables_last as it isn't needed anymoreSerializer::pretty_* functions as toml_edit is for greater customizationOffsetsDeprecated items from 0.5 were removed
Breaking Behavior Changes
FromStr impl for Value now only parses toml values, not documents. See instead TableDisplay impl for Value now only renders toml values, not documents. See instead Tablefrom_str now only parses toml documents, not values. See instead de::ValueDeserializerto_string / to_string_pretty now only renders toml documents, not values. See instead ser::ValueSerializerBreaking API Changes
de::from_slice and ser::to_vec were removed, instead use from_str and to_string and convert with bytes manuallytoml! returns a Table, rather than a Valuetoml::de can no longer deserialize to borrowed types as everything becomes owned through the parsing processserde::de::Deserializer is now implemented for toml::Deserializer, rather than &mut toml::Deserializerserde::ser::Serializer is now implemented for toml::Serializer, rather than &mut toml::Serializervalue no longer re-exports Map and EntrySpanned::spans return type changed to std::ops::Range<usize>Spanned::start removed in favor of Spanned::span().startSpanned::wnd removed in favor of Spanned::span().endparse and display default features were addedtoml::ser::Errors variants are private. For toml::ser::Error::Custom, you can use serde::ser::Error::customDeprecations
Deserializer::tables_last, it is no longer neededDeserializer::pretty_string, this is all bundled up with prettyDeserializer::pretty_string_literal, this is all bundled up with prettyDeserializer::pretty_array, this is all bundled up with prettyDeserializer::pretty_array_indent, this is all bundled up with prettyDeserializer::pretty_array_trailing_comma, this is all bundled up with prettyde::Error::line_col, replaced with de::Error::spanMSRV is now 1.60.0
Table now impls Display, FromStr, DeserializeTable now has try_from and try_into methodsde::ValueDeserializer and ser::ValueSerializer for exclusively working with toml valuesde::Error::span and de::Error::message, allowing custom error renderingSpanned / errorstables_last, being inserted when using array of tablesOne column per quarter.
Deprecated Deserializer::set_require_newline_after_table
Deserializer::set_require_newline_after_tableDeserializer::set_allow_duplicate_after_longer_tableDeserializer::endNothing published for this version
Changes: - #373: Allow empty table keys - #426: Fix serialization of -0.0 - #439: Make datetime structs and fields public
Changes:
<!-- next-url --> [Unreleased]: https://github.com/toml-rs/toml/compare/toml-v1.1.6...HEAD [1.1.6]: https://github.com/toml-rs/toml/compare/toml-v1.1.
Minor doc fix (#409)
<!-- next-url --> [Unreleased]: https://github.com/toml-rs/toml/compare/toml-v1.1.6...HEAD [1.1.6]: https://github.com/toml-rs/toml/compare/toml-v1.1.5...toml-v1.1.6 [1.1.5]: https://github.com/toml-rs/toml/compare/toml-v1.1.4...toml-v1.1.5 [1.1.4]: https://github.com/toml-rs/toml/compare/toml-v1.1.3...toml-v1.1.4 [1.1.3]: https://github.com/toml-rs/toml/compare/toml-v1.1.2...toml-v1.1.3 [1.1.2]: https://github.com/toml-rs/toml/compare/toml-v1.1.1...toml-v1.1.2 [1.1.1]: https://github.com/toml-rs/toml/compare/toml-v1.1.0...toml-v1.1.1 [1.1.0]: https://github.com/toml-rs/toml/compare/toml-v1.0.7...toml-v1.1.0 [1.0.7]: https://github.com/toml-rs/toml/compare/toml-v1.0.6...toml-v1.0.7 [1.0.6]: https://github.com/toml-rs/toml/compare/toml-v1.0.5...toml-v1.0.6 [1.0.5]: https://github.com/toml-rs/toml/compare/toml-v1.0.4...toml-v1.0.5 [1.0.4]: https://github.com/toml-rs/toml/compare/toml-v1.0.3...toml-v1.0.4 [1.0.3]: https://github.com/toml-rs/toml/compare/toml-v1.0.2...toml-v1.0.3 [1.0.2]: https://github.com/toml-rs/toml/compare/toml-v1.0.1...toml-v1.0.2 [1.0.1]: https://github.com/toml-rs/toml/compare/toml-v1.0.0...toml-v1.0.1 [1.0.0]: https://github.com/toml-rs/toml/compare/toml-v0.9.12...toml-v1.0.0 [0.9.12]: https://github.com/toml-rs/toml/compare/toml-v0.9.11...toml-v0.9.12 [0.9.11]: https://github.com/toml-rs/toml/compare/toml-v0.9.10...toml-v0.9.11 [0.9.10]: https://github.com/toml-rs/toml/compare/toml-v0.9.9...toml-v0.9.10 [0.9.9]: https://github.com/toml-rs/toml/compare/toml-v0.9.8...toml-v0.9.9 [0.9.8]: https://github.com/toml-rs/toml/compare/toml-v0.9.7...toml-v0.9.8 [0.9.7]: https://github.com/toml-rs/toml/compare/toml-v0.9.6...toml-v0.9.7 [0.9.6]: https://github.com/toml-rs/toml/compare/toml-v0.9.5...toml-v0.9.6 [0.9.5]: https://github.com/toml-rs/toml/compare/toml-v0.9.4...toml-v0.9.5 [0.9.4]: https://github.com/toml-rs/toml/compare/toml-v0.9.3...toml-v0.9.4 [0.9.3]: https://github.com/toml-rs/toml/compare/toml-v0.9.2...toml-v0.9.3 [0.9.2]: https://github.com/toml-rs/toml/compare/toml-v0.9.1...toml-v0.9.2 [0.9.1]: https://github.com/toml-rs/toml/compare/toml-v0.9.0...toml-v0.9.1 [0.9.0]: https://github.com/toml-rs/toml/compare/toml-v0.8.23...toml-v0.9.0 [0.8.23]: https://github.com/toml-rs/toml/compare/toml-v0.8.22...toml-v0.8.23 [0.8.22]: https://github.com/toml-rs/toml/compare/toml-v0.8.21...toml-v0.8.22 [0.8.21]: https://github.com/toml-rs/toml/compare/toml-v0.8.20...toml-v0.8.21 [0.8.20]: https://github.com/toml-rs/toml/compare/toml-v0.8.19...toml-v0.8.20 [0.8.19]: https://github.com/toml-rs/toml/compare/toml-v0.8.18...toml-v0.8.19 [0.8.18]: https://github.com/toml-rs/toml/compare/toml-v0.8.17...toml-v0.8.18 [0.8.17]: https://github.com/toml-rs/toml/compare/toml-v0.8.16...toml-v0.8.17 [0.8.16]: https://github.com/toml-rs/toml/compare/toml-v0.8.15...toml-v0.8.16 [0.8.15]: https://github.com/toml-rs/toml/compare/toml-v0.8.14...toml-v0.8.15 [0.8.14]: https://github.com/toml-rs/toml/compare/toml-v0.8.13...toml-v0.8.14 [0.8.13]: https://github.com/toml-rs/toml/compare/toml-v0.8.12...toml-v0.8.13 [0.8.12]: https://github.com/toml-rs/toml/compare/toml-v0.8.11...toml-v0.8.12 [0.8.11]: https://github.com/toml-rs/toml/compare/toml-v0.8.10...toml-v0.8.11 [0.8.10]: https://github.com/toml-rs/toml/compare/toml-v0.8.9...toml-v0.8.10 [0.8.9]: https://github.com/toml-rs/toml/compare/toml-v0.8.8...toml-v0.8.9 [0.8.8]: https://github.com/toml-rs/toml/compare/toml-v0.8.7...toml-v0.8.8 [0.8.7]: https://github.com/toml-rs/toml/compare/toml-v0.8.6...toml-v0.8.7 [0.8.6]: https://github.com/toml-rs/toml/compare/toml-v0.8.5...toml-v0.8.6 [0.8.5]: https://github.com/toml-rs/toml/compare/toml-v0.8.4...toml-v0.8.5 [0.8.4]: https://github.com/toml-rs/toml/compare/toml-v0.8.3...toml-v0.8.4 [0.8.3]: https://github.com/toml-rs/toml/compare/toml-v0.8.2...toml-v0.8.3 [0.8.2]: https://github.com/toml-rs/toml/compare/toml-v0.8.1...toml-v0.8.2 [0.8.1]: https://github.com/toml-rs/toml/compare/toml-v0.8.0...toml-v0.8.1 [0.8.0]: https://github.com/toml-rs/toml/compare/toml-v0.7.8...toml-v0.8.0 [0.7.8]: https://github.com/toml-rs/toml/compare/toml-v0.7.7...toml-v0.7.8 [0.7.7]: https://github.com/toml-rs/toml/compare/toml-v0.7.6...toml-v0.7.7 [0.7.6]: https://github.com/toml-rs/toml/compare/toml-v0.7.5...toml-v0.7.6 [0.7.5]: https://github.com/toml-rs/toml/compare/toml-v0.7.4...toml-v0.7.5 [0.7.4]: https://github.com/toml-rs/toml/compare/toml-v0.7.3...toml-v0.7.4 [0.7.3]: https://github.com/toml-rs/toml/compare/toml-v0.7.2...toml-v0.7.3 [0.7.2]: https://github.com/toml-rs/toml/compare/toml-v0.7.1...toml-v0.7.2 [0.7.1]: https://github.com/toml-rs/toml/compare/toml-v0.7.0...toml-v0.7.1 [0.7.0]: https://github.com/toml-rs/toml/compare/toml-v0.6.0...toml-v0.7.0 [0.6.0]: https://github.com/toml-rs/toml/compare/70caf40...toml-v0.6.0 [0.5.11]: https://github.com/toml-rs/toml_edit/compare/toml-v0.5.10...toml-v0.5.11 [0.5.10]: https://github.com/toml-rs/toml_edit/compare/70caf40...toml-v0.5.10 [0.5.9]: https://github.com/toml-rs/toml_edit/compare/94b319f...70caf40 [0.5.8]: https://github.com/toml-rs/toml_edit/compare/9a94610...94b319f
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →