| de |
|
|
| lib.rs |
A [serde]-compatible [TOML]-parsing library
TOML itself is a simple, ergonomic, and readable configuration format:
```toml
[package]
name = "toml"
[dependencies]
serde = "1.0"
```
The TOML format tends to be relatively common throughout the Rust community
for configuration, notably being used by [Cargo], Rust's package manager.
## TOML values
A TOML document is represented with the [`Table`] type which maps `String` to the [`Value`] enum:
|
5652 |
| macros.rs |
|
20690 |
| map.rs |
A map of `String` to [Value][crate::Value].
By default the map is backed by a [`BTreeMap`]. Enable the `preserve_order`
feature of toml-rs to use [`IndexMap`] instead.
[`BTreeMap`]: https://doc.rust-lang.org/std/collections/struct.BTreeMap.html
[`IndexMap`]: https://docs.rs/indexmap |
18947 |
| ser |
|
|
| table.rs |
|
12453 |
| value.rs |
Definition of a TOML [value][Value] |
35394 |