# 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 = "2021" name = "plugx-config" version = "0.3.0" include = [ "src/**/*.rs", "Cargo.toml", "LICENSE", "README.md", ] description = "Plugin configuration management" homepage = "https://crates.io/crates/plugx-config" documentation = "https://docs.rs/plugx-config" readme = "README.md" keywords = [ "configuration", "config", "cfg", "settings", "env", ] categories = ["config"] license = "BSD-3-Clause" repository = "https://github.com/plugx-rs/plugx-config" [package.metadata.docs.rs] all-features = true [dependencies.anyhow] version = "1.0.79" [dependencies.cfg-if] version = "1.0.0" [dependencies.dotenv-parser] version = "0.1.3" optional = true [dependencies.log] version = "0.4.20" optional = true [dependencies.plugx-input] version = "0.3.1" features = ["schema"] default-features = false [dependencies.serde] version = "1.0.195" features = ["derive"] [dependencies.serde_json] version = "1.0.111" optional = true [dependencies.serde_qs] version = "0.12.0" optional = true default-features = false [dependencies.serde_yaml] version = "0.9.30" optional = true [dependencies.thiserror] version = "1.0.56" [dependencies.toml] version = "0.8.8" optional = true [dependencies.tracing] version = "0.1.40" optional = true [dependencies.url] version = "2.5.0" features = ["serde"] [dev-dependencies.deser-hjson] version = "2.2.4" [dev-dependencies.dirs] version = "5.0.1" [dev-dependencies.env_logger] version = "0.10.1" [dev-dependencies.tempdir] version = "0.3.7" [dev-dependencies.tracing-subscriber] version = "0.3.18" features = ["json"] [features] default = [ "logging", "env", ] env = [ "dep:dotenv-parser", "dep:serde_json", "qs", ] fs = ["qs"] json = ["dep:serde_json"] logging = [ "dep:log", "plugx-input/logging", ] qs = ["dep:serde_qs"] toml = ["dep:toml"] tracing = [ "dep:tracing", "plugx-input/tracing", ] yaml = ["dep:serde_yaml"]