#encoding

toml

A native Rust encoder and decoder of TOML-formatted files and streams. Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures.

48 releases

✓ Uses Rust 2018 edition

new 0.5.1 May 16, 2019
0.5.0 Mar 15, 2019
0.4.10 Dec 6, 2018
0.4.9 Nov 21, 2018
0.1.3 Nov 22, 2014

#9 in Encoding

Download history 49010/week @ 2019-01-31 56197/week @ 2019-02-07 56092/week @ 2019-02-14 57617/week @ 2019-02-21 58385/week @ 2019-02-28 55570/week @ 2019-03-07 57353/week @ 2019-03-14 53671/week @ 2019-03-21 64674/week @ 2019-03-28 111568/week @ 2019-04-04 76047/week @ 2019-04-11 120172/week @ 2019-04-18 83398/week @ 2019-04-25 92728/week @ 2019-05-02 120523/week @ 2019-05-09

332,917 downloads per month
Used in 1,319 crates (663 directly)

MIT/Apache

236KB
5.5K SLoC

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

Dependencies

~327KB