# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" rust-version = "1.74.0" name = "cfg-rs" version = "0.4.1" authors = ["Daniel Yu "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A rust configuration loader" homepage = "https://github.com/leptonyu/cfg-rs" documentation = "https://docs.rs/cfg-rs/" readme = "README.md" keywords = [ "configuration", "config", "settings", "env", "environment", ] categories = ["config"] license = "MIT" repository = "https://github.com/leptonyu/cfg-rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [package.metadata.playground] all-features = true [lib] name = "cfg_rs" path = "src/lib.rs" [[example]] name = "logger" path = "examples/logger.rs" required-features = ["full"] [[example]] name = "profile" path = "examples/profile.rs" required-features = ["toml"] [[example]] name = "refresh" path = "examples/refresh.rs" [[example]] name = "salak" path = "examples/salak.rs" [[example]] name = "simple" path = "examples/simple.rs" required-features = ["full"] [[example]] name = "test_suit" path = "examples/test_suit.rs" [[example]] name = "thread_pool" path = "examples/thread_pool.rs" [[example]] name = "watch" path = "examples/watch.rs" required-features = ["yaml"] [[bench]] name = "core" path = "benches/core.rs" harness = false [dependencies.cfg-derive] version = "^0.2" [dependencies.json] version = ">= 0.12.4" optional = true [dependencies.log] version = ">= 0.4.20" optional = true [dependencies.rand_chacha] version = ">= 0.3.1" features = ["std"] optional = true [dependencies.rand_core] version = ">= 0.6.4" features = ["std"] optional = true [dependencies.rust-ini] version = ">= 0.20.0" optional = true [dependencies.toml] version = ">= 0.8.10" optional = true [dependencies.yaml-rust] version = ">= 0.4.5" optional = true [dev-dependencies.clap] version = ">= 4.5.1" [dev-dependencies.criterion2] version = ">= 1.1.0" [dev-dependencies.env_logger] version = ">= 0.11.2" [dev-dependencies.log] version = ">= 0.4.20" [dev-dependencies.quickcheck] version = "1" [dev-dependencies.quickcheck_macros] version = "1" [dev-dependencies.regex] version = ">= 1.10.3" [features] default = [] full = [ "toml", "yaml", "json", "rand", "ini", "log", ] ini = ["rust-ini"] rand = [ "rand_chacha", "rand_core", ] yaml = ["yaml-rust"]