# 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.75"
name = "confers"
version = "0.2.1"
authors = ["Kirky.X <kirkyx@outlook.com>"]
build = false
include = [
    "src/**",
    "tests/**",
    "README.md",
    "LICENSE-MIT",
    "LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modern, type-safe configuration management library with validation, diff, and hot-reload support"
homepage = "https://github.com/Kirky-X/confers"
documentation = "https://docs.rs/confers"
readme = "README.md"
keywords = [
    "configuration",
    "config",
    "type-safe",
    "serde",
    "validation",
]
categories = [
    "config",
    "development-tools",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/Kirky-X/confers"

[features]
audit = []
cli = [
    "clap",
    "clap_complete",
    "derive",
    "encryption",
    "validation",
    "confers-macros/cli",
]
consul = ["reqwest"]
default = ["derive"]
derive = ["confers-macros"]
dev = [
    "derive",
    "validation",
    "cli",
    "schema",
    "audit",
    "monitoring",
    "tracing",
]
encryption = [
    "aes",
    "cbc",
    "rand",
    "base64",
    "pbkdf2",
    "hmac",
    "sha2",
    "aes-gcm",
    "zeroize",
    "lru",
    "chrono",
    "hex",
    "flate2",
]
etcd = ["etcd-client"]
full = [
    "derive",
    "validation",
    "watch",
    "audit",
    "schema",
    "parallel",
    "remote",
    "encryption",
    "cli",
    "monitoring",
    "tracing",
]
http = ["reqwest"]
minimal = ["derive"]
monitoring = ["sysinfo"]
parallel = ["rayon"]
production = [
    "derive",
    "validation",
    "watch",
    "encryption",
    "remote",
    "monitoring",
    "tracing",
]
recommended = [
    "derive",
    "validation",
]
remote = [
    "etcd",
    "consul",
    "http",
    "rustls",
    "rustls-pki-types",
    "tokio-rustls",
    "failsafe",
    "base64",
]
schema = ["jsonschema"]
tracing = [
    "dep:tracing",
    "dep:tracing-subscriber",
]
validation = [
    "validator",
    "confers-macros/validation",
]
watch = [
    "notify",
    "notify-debouncer-full",
]

[lib]
name = "confers"
path = "src/lib.rs"

[[bin]]
name = "confers"
path = "src/main.rs"

[dependencies.aes]
version = "0.8.4"
optional = true

[dependencies.aes-gcm]
version = "0.10.3"
optional = true

[dependencies.anyhow]
version = "1.0"

[dependencies.base64]
version = "0.22.1"
optional = true

[dependencies.cbc]
version = "0.1.2"
optional = true

[dependencies.chrono]
version = "0.4"
features = ["serde"]
optional = true

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
    "cargo",
]
optional = true

[dependencies.clap_complete]
version = "4.5"
optional = true

[dependencies.confers-macros]
version = "0.2.1"
optional = true

[dependencies.dirs]
version = "5.0"

[dependencies.etcd-client]
version = "0.14"
features = ["tls"]
optional = true

[dependencies.failsafe]
version = "1.3.0"
optional = true

[dependencies.figment]
version = "0.10"
features = [
    "toml",
    "json",
    "yaml",
    "env",
]

[dependencies.flate2]
version = "1.0"
optional = true

[dependencies.hex]
version = "0.4"
optional = true

[dependencies.hmac]
version = "0.12.1"
optional = true

[dependencies.jsonschema]
version = "0.28"
optional = true

[dependencies.lru]
version = "0.16"
optional = true

[dependencies.notify]
version = "6.1"
optional = true

[dependencies.notify-debouncer-full]
version = "0.3"
optional = true

[dependencies.path-absolutize]
version = "3.1"

[dependencies.pbkdf2]
version = "0.12.2"
optional = true

[dependencies.rand]
version = "0.9.2"
optional = true

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.regex]
version = "1.10"
features = [
    "std",
    "perf-literal",
]
default-features = false

[dependencies.reqwest]
version = "0.11"
features = [
    "json",
    "rustls-tls",
    "blocking",
]
optional = true
default-features = false

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "logging",
    "std",
    "tls12",
]
optional = true
default-features = false

[dependencies.rustls-pki-types]
version = "1.13.2"
optional = true

[dependencies.schemars]
version = "0.8"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_ini]
version = "0.2"

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10.9"
optional = true

[dependencies.shellexpand]
version = "3.1.1"

[dependencies.sysinfo]
version = "0.33"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.tokio-rustls]
version = "0.26.4"
features = [
    "ring",
    "logging",
    "tls12",
]
optional = true
default-features = false

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
optional = true

[dependencies.url]
version = "2.5.7"

[dependencies.validator]
version = "0.19"
features = ["derive"]
optional = true

[dependencies.zeroize]
version = "1.8"
features = ["zeroize_derive"]
optional = true

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.cargo-tarpaulin]
version = "0.27"

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.mockall]
version = "0.12"

[dev-dependencies.predicates]
version = "3.1"

[dev-dependencies.temp-env]
version = "0.3"

[dev-dependencies.tempfile]
version = "3.10"

[dev-dependencies.warp]
version = "0.3"

[dev-dependencies.wiremock]
version = "0.6"
