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

47 releases

new 0.5.0 Mar 15, 2019
0.4.10 Dec 6, 2018
0.4.9 Nov 21, 2018
0.4.6 Apr 4, 2018
0.1.3 Nov 22, 2014

#6 in Encoding

Download history 46524/week @ 2018-12-01 52470/week @ 2018-12-08 44238/week @ 2018-12-15 33739/week @ 2018-12-22 40218/week @ 2018-12-29 46555/week @ 2019-01-05 53981/week @ 2019-01-12 55942/week @ 2019-01-19 47129/week @ 2019-01-26 51274/week @ 2019-02-02 57301/week @ 2019-02-09 55515/week @ 2019-02-16 59257/week @ 2019-02-23 56103/week @ 2019-03-02 54814/week @ 2019-03-09

216,099 downloads per month
Used in 1,183 crates (604 directly)

MIT/Apache

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

Dependencies

~331KB