[go: up one dir, main page]

toml_edit 0.3.0

Yet another format-preserving TOML parser.
Documentation
# Changelog

The format is based on [Keep a Changelog].

[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/

## [Unreleased]

## [0.3.0] - 2021-09-13

- Added support for TOML 1.0, with [one functional caveat]https://github.com/ordian/toml_edit/issues/128 and [one format-preserving caveat]https://github.com/ordian/toml_edit/issues/163
- Added `Item::into_value`
- Changed `Table` and `InlineTable` to be more Map-like
- Expanded support in `TableLike`
- Added [toml-rs]https://docs.rs/toml-compatible API via the `toml_edit::easy` module for when developers want to ensure consistency between format-preserving and general TOML work, with [one caveat]https://github.com/ordian/toml_edit/issues/192.
- Exposed more control over formatting, with ability to modify any key or value whitespace.
- Fixed it so we preserve formatting on dotted keys in standard table headers
- Dropped `chrono` dependency

This release was sponsored by Futurewei

## [0.2.1] - 2021-06-07
- Added `Table::decor`. [#97]https://github.com/ordian/toml_edit/pull/97
- Added `IterMut` for `Table`. [#100]https://github.com/ordian/toml_edit/pull/100
- Added `Table::get_mut`. [#106]https://github.com/ordian/toml_edit/pull/106
- Updated `combine` to 4.5. [#107]https://github.com/ordian/toml_edit/pull/107

## [0.2.0] - 2020-06-18
- Added format preserving mutation functions for `Array`. [#88]https://github.com/ordian/toml_edit/pull/88
### Breaking
- `array.push` now returns a `Result`.