My fork of toml-rs with no_std support.
Find a file
Tomasz Miąsko a5046008e5 Fix parsing of repeated delimiters inside multi-line strings
The previous implementation of `read_string`, when looking for
delimiters ending the multi-line string and failing to find exactly
three in succession, always put a single delimiter back. This is
incorrect when exactly two delimiters are present.

Put back the correct number of delimiters depending on how many have
been already consumed from input.

The issue could be triggered only with `Owned` representation of
`MaybeString`, since otherwise `push` operation is no-op.
2019-03-20 17:58:14 +01:00
examples Run cargo fmt 2018-12-17 17:45:35 -08:00
src Fix parsing of repeated delimiters inside multi-line strings 2019-03-20 17:58:14 +01:00
test-suite Fix case sensitivity with T, Z, and E. 2019-02-19 10:59:42 -08:00
tests Maintain backward compatibility with Rust 1.15, take 3. 2018-11-17 14:19:14 +13:00
.gitignore Make serde-tests a standalone crate 2015-08-13 09:39:49 -07:00
.travis.yml Merge pull request #278 from Kerollmops/master 2019-01-08 15:24:40 -08:00
Cargo.toml Merge pull request #278 from Kerollmops/master 2019-01-08 15:24:40 -08:00
LICENSE-APACHE Add a dual MIT/Apache license 2014-09-03 11:20:27 -07:00
LICENSE-MIT Add a dual MIT/Apache license 2014-09-03 11:20:27 -07:00
README.md Update build urls 2019-01-02 14:15:57 -08:00

toml-rs

Build Status Coverage Status Latest Version Documentation

A TOML decoder and encoder for Rust. This library is currently compliant with the v0.5.0 version of TOML. This library will also likely continue to stay up to date with the TOML specification as changes happen.

# Cargo.toml
[dependencies]
toml = "0.4"

This crate also supports serialization/deserialization through the serde crate on crates.io. Currently the older rustc-serialize crate is not supported in the 0.3+ series of the toml crate, but 0.2 can be used for that support.

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in toml-rs by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.