| 1 | # toml |
| 2 | |
| 3 | [](https://docs.rs/toml) |
| 4 |  |
| 5 | [](https://crates.io/crates/toml) |
| 6 | |
| 7 | A [serde]-compatible [TOML][toml] decoder and encoder for Rust. |
| 8 | |
| 9 | For format-preserving editing or finer control over output, see [toml_edit] |
| 10 | |
| 11 | [serde]: https://serde.rs/ |
| 12 | [toml]: https://github.com/toml-lang/toml |
| 13 | [toml_edit]: https://docs.rs/toml_edit |
| 14 | |
| 15 | ## License |
| 16 | |
| 17 | Licensed under either of |
| 18 | |
| 19 | * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or <https://www.apache.org/licenses/LICENSE-2.0>) |
| 20 | * MIT license ([LICENSE-MIT](LICENSE-MIT) or <https://opensource.org/license/mit>) |
| 21 | |
| 22 | at your option. |
| 23 | |
| 24 | ### Contribution |
| 25 | |
| 26 | Unless you explicitly state otherwise, any contribution intentionally |
| 27 | submitted for inclusion in the work by you, as defined in the Apache-2.0 |
| 28 | license, shall be dual-licensed as above, without any additional terms or |
| 29 | conditions. |