My fork of toml-rs with no_std support.
Find a file
est31 52586279ce Support for dotted table spans (#340)
* "Support" spans for maps

In toml you can declare maps via {} and via [name].
We can't obtain spans for [] maps but at least we
can emit fake spans to make SpannedValue work.

We also add a regression test.

* Don't regress the inline table case

* Also support arrays
2019-10-28 09:01:23 -05:00
.github/workflows Switch to github actions for CI 2019-08-28 07:57:58 -07:00
examples 2018 edition idioms. 2019-05-08 17:37:38 -07:00
src Support for dotted table spans (#340) 2019-10-28 09:01:23 -05:00
test-suite Support for dotted table spans (#340) 2019-10-28 09:01:23 -05:00
tests Nested dotted-table enums (#329) 2019-09-05 09:18:26 -05:00
.gitignore Make serde-tests a standalone crate 2015-08-13 09:39:49 -07:00
Cargo.toml Switch from linked-hash-map to indexmap 2019-10-25 12:08:28 -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 Remove outdated README badges 2019-08-28 07:59:20 -07:00

toml-rs

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.5"

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.