diff options
author | Ryan Leckey <ryan@launchbadge.com> | 2017-06-01 23:22:04 -0700 |
---|---|---|
committer | Ryan Leckey <ryan@launchbadge.com> | 2017-06-01 23:22:04 -0700 |
commit | bfc44c331a77d8c341c076e72df5ed0b56fbd422 (patch) | |
tree | c757723957be6b880d1e0d8d26ae2b1c9c606ed2 /Cargo.toml | |
parent | 4357840e95f3646494ddeea4aae12425dfab2db8 (diff) |
Move things around and get some tests in place
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 34 |
1 files changed, 26 insertions, 8 deletions
@@ -1,8 +1,26 @@ -[workspace] -members = [ - "lib", - "examples/basic", - # "examples/file-json", - "examples/file-toml", - # "examples/file-yaml", -] +[package] +name = "config" +version = "0.5.0-pre" +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>"] +license = "MIT/Apache-2.0" + +[features] +default = ["toml", "json", "yaml"] +json = ["serde_json"] +yaml = ["yaml-rust"] + +[dependencies] +serde = "^0.9" +nom = "^2.1" + +toml = { version = "^0.3", optional = true } +serde_json = { version = "^0.9", optional = true } +yaml-rust = { version = "^0.3.5", optional = true } + +[dev-dependencies] +serde_derive = "^0.9" |