• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "config"
3version = "0.13.4"
4description = "Layered configuration system for Rust applications."
5homepage = "https://github.com/mehcode/config-rs"
6repository = "https://github.com/mehcode/config-rs"
7readme = "README.md"
8keywords = ["config", "configuration", "settings", "env", "environment"]
9authors = ["Ryan Leckey <leckey.ryan@gmail.com>"]
10categories = ["config"]
11license = "MIT/Apache-2.0"
12edition = "2018"
13rust-version = "1.56.0"
14
15[badges]
16maintenance = { status = "actively-developed" }
17
18[features]
19default = ["toml", "json", "yaml", "ini", "ron", "json5"]
20json = ["serde_json"]
21yaml = ["yaml-rust"]
22ini = ["rust-ini"]
23json5 = ["json5_rs"]
24preserve_order = ["indexmap", "toml/preserve_order", "serde_json/preserve_order", "ron/indexmap"]
25
26[dependencies]
27async-trait = "0.1.2"
28lazy_static = "1.4"
29serde = "1.0.99"
30nom = "7"
31
32toml = { version = "0.5", optional = true }
33serde_json = { version = "1.0.0", optional = true }
34yaml-rust = { version = "0.4", optional = true }
35rust-ini = { version = "0.18", optional = true }
36ron = { version = "0.7", optional = true }
37json5_rs = { version = "0.4", optional = true, package = "json5" }
38indexmap = { version = "1.7.0", features = ["serde-1"], optional = true}
39pathdiff = "0.2"
40
41[dev-dependencies]
42float-cmp = "0.9"
43
44# tests/legacy (available in serde via `features = ["derive"]` since 1.0.103)
45serde_derive = "1.0.99"
46
47# tests/datetime.rs + tests/legacy/datetime.rs
48chrono = { version = "0.4.23", features = ["serde"] }
49
50# examples/async_source
51warp = "=0.3.5"
52futures = "0.3"
53reqwest = "0.11"
54# Additionally tests/async_builder.rs
55tokio = { version = "1.13", features = ["rt-multi-thread", "macros"]}
56
57# examples/glob
58glob = "0.3"
59# examples/watch
60notify = "4.0.0"
61# tests/env.rs
62temp-env = "0.2.0"
63