A TOML encoding/decoding library for Rust
Clone or download
alexcrichton Merge pull request #255 from kornelski/master
Support deserializing from other integer types
Latest commit 8181a7e Aug 6, 2018



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


This project is licensed under either of

at your option.


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.