toml_edit
is a format preserving TOML parser / generator. See docs.rs for more details.
Highlights from CHANGELOG.md:
- Added support for TOML 1.0, with one functional caveat and one format-preserving caveat
- Added toml-rs-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. - Changed table API to be more map-like
So how does toml_edit::easy
compare to toml-rs
?
-
toml-rs
is faster -
toml-rs
has opt-in support for a couple of malformed TOML cases that exist on crates.io -
toml_edit::easy
does not yet generate pretty TOML - Unclear how they compare on TOML 1.0 spec conformance