Crate toml_config [] [src]

Configuring your dependency

toml-config can be configured to use rustc_serialize or serde

Using toml-config with rustc_serialize

By default toml-config uses rustc_serialize, so just add the dependency in Cargo.toml normally:

toml-config = "0.2"

Using toml-config with serde

To use toml-config with serde, opt out from the default features and enable the serde-serialization feature:

version = "0.2"
default-features = false
features = ["serde-serialization"]



Implements helper functions for loading TOML files into a structure