# 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" rust-version = "1.67" name = "confik" version = "0.12.0" authors = ["Rob Ede "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A library for reading application configuration split across multiple sources" readme = "README.md" keywords = [ "parser", "serde", "utility", "config", ] categories = ["config"] license = "MIT OR Apache-2.0" repository = "https://github.com/x52dev/confik" [package.metadata.cargo-machete] ignored = [ "humantime_serde", "serde_with", ] [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "confik" path = "src/lib.rs" [[example]] name = "bigdecimal" path = "examples/bigdecimal.rs" required-features = [ "toml", "bigdecimal", ] [[example]] name = "defaulting" path = "examples/defaulting.rs" [[example]] name = "derives" path = "examples/derives.rs" required-features = [ "toml", "camino", ] [[example]] name = "secret_string" path = "examples/secret_string.rs" required-features = [ "toml", "secrecy", ] [[example]] name = "simple" path = "examples/simple.rs" required-features = ["toml"] [[test]] name = "main" path = "tests/main.rs" [[test]] name = "third_party" path = "tests/third_party.rs" [dependencies.bigdecimal] version = "0.4" features = ["serde"] optional = true [dependencies.bytesize] version = "1" features = ["serde"] optional = true [dependencies.camino] version = "1" features = ["serde1"] optional = true [dependencies.cfg-if] version = "1" [dependencies.chrono] version = "0.4.20" features = ["serde"] optional = true default-features = false [dependencies.confik-macros] version = "=0.12.0" [dependencies.envious] version = "0.2" optional = true [dependencies.ipnetwork] version = "0.20" features = ["serde"] optional = true [dependencies.rust_decimal] version = "1" features = ["serde"] optional = true [dependencies.secrecy] version = "0.10" features = ["serde"] optional = true [dependencies.serde] version = "1" features = [ "std", "derive", ] default-features = false [dependencies.serde_json] version = "1" optional = true [dependencies.thiserror] version = "1" [dependencies.toml] version = "0.8" features = ["parse"] optional = true default-features = false [dependencies.url] version = "2" features = ["serde"] optional = true [dependencies.uuid] version = "1" features = ["serde"] optional = true [dev-dependencies.assert_matches] version = "1.5" [dev-dependencies.humantime-serde] version = "1" [dev-dependencies.indoc] version = "2" [dev-dependencies.serde_with] version = "3" [dev-dependencies.temp-env] version = "0.3" [dev-dependencies.tempfile] version = "3" [features] bigdecimal = ["dep:bigdecimal"] bytesize = ["dep:bytesize"] camino = ["dep:camino"] chrono = ["dep:chrono"] common = [] default = [ "env", "toml", ] env = ["dep:envious"] ipnetwork = ["dep:ipnetwork"] json = ["dep:serde_json"] rust_decimal = ["dep:rust_decimal"] secrecy = ["dep:secrecy"] toml = ["dep:toml"] url = ["dep:url"] uuid = ["dep:uuid"]