My fork of toml-rs with no_std support.
Find a file
Alex Gulyás 64ae43a386 Fix the arithmetic overflow in Parser::to_linecol
This also changes the calculated line and column numbers. Without this
patch, if an error occurs at the end of a line, the returned line and
column numbers will point at the start of the next line.

After this patch, the line and column numbers will correctly point at
the end of the line where the actual parse error happened.
2015-08-14 14:54:32 +02:00
examples Add a toml to json example 2015-06-07 23:47:29 -07:00
serde-tests Make serde-tests a standalone crate 2015-08-13 09:39:49 -07:00
src Fix the arithmetic overflow in Parser::to_linecol 2015-08-14 14:54:32 +02:00
tests Add a very simple test for Parser::to_linecol. 2015-08-14 14:39:59 +02:00
.gitignore Make serde-tests a standalone crate 2015-08-13 09:39:49 -07:00
.travis.yml Make serde-tests a standalone crate 2015-08-13 09:39:49 -07:00
Cargo.toml Bump to 0.1.22 2015-08-13 09:56:51 -07: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 Add coverage badge 2015-07-10 15:10:57 -07:00

toml-rs

Build Status Coverage Status

Documentation

A TOML decoder and encoder for Rust. This library is currently compliant with the v0.4.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.1"

License

toml-rs is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.