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