summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
blob: 4c3098506ff488d13e2fd491ab7f16dd850cb8bc (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
30
31
32
33
34
35
36
37
[package]
name = "config"
version = "0.9.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"

[badges]
travis-ci = { repository = "mehcode/config-rs" }

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

[dependencies]
lazy_static = "1.0"
serde = "1.0.8"
nom = "4.0.0"

toml = { version = "0.4.1", optional = true }
serde_json = { version = "1.0.2", optional = true }
yaml-rust = { version = "0.4", optional = true }
serde-hjson = { version = "0.8.1", optional = true }
rust-ini = { version = "0.12", optional = true }

[dev-dependencies]
serde_derive = "1.0.8"
float-cmp = "0.4"
chrono = { version = "0.4", features = ["serde"] }