summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 210410d5a4d5cfe2f79a060c83584d5fd4b430ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[package]
name = "config"
version = "0.5.1"
description = "Layered configuration system for Rust applications."
homepage = "https://github.com/mehcode/config-rs"
repository = "https://github.com/mehcode/config-rs"
readme = "README.md"
keywords = ["config", "configuration", "settings", "env", "environment"]
authors = ["Ryan Leckey <leckey.ryan@gmail.com>"]
categories = ["config"]
license = "MIT/Apache-2.0"

[features]
default = ["toml", "json", "yaml"]
json = ["serde_json"]
yaml = ["yaml-rust"]

[dependencies]
lazy_static = "0.2"
serde = "^1.0.8"
nom = "^3.0.0"

toml = { version = "^0.4.1", optional = true }
serde_json = { version = "^1.0.2", optional = true }
yaml-rust = { version = "^0.3.5", optional = true }

[dev-dependencies]
serde_derive = "^1.0.8"
float-cmp = "0.2.3"