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

42 releases

0.4.6 Apr 4, 2018
0.4.5 Aug 14, 2017
0.4.4 Jul 28, 2017
0.3.1 Feb 27, 2017
0.1.3 Nov 22, 2014

#10 in Encoding

Download history 23506/week @ 2018-05-27 30011/week @ 2018-06-03 29774/week @ 2018-06-10 24264/week @ 2018-06-17 27767/week @ 2018-06-24 29136/week @ 2018-07-01 28172/week @ 2018-07-08 31411/week @ 2018-07-15 31337/week @ 2018-07-22 29727/week @ 2018-07-29 30820/week @ 2018-08-05 28546/week @ 2018-08-12 25120/week @ 2018-08-19

121,846 downloads per month
Used in 925 crates (488 directly)

MIT/Apache

203KB
4.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.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.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

~335KB