[dependencies.clap]
optional = true
version = "4.0"
[dependencies.directories]
version = "5.0"
[dependencies.etcd-client]
optional = true
version = "0.12"
[dependencies.notify]
optional = true
version = "6.0"
[dependencies.once_cell]
version = "1.19"
[dependencies.redis]
features = ["tokio-comp"]
optional = true
version = "0.23"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_yaml]
optional = true
version = "0.9"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
features = ["full"]
optional = true
version = "1.0"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.proptest]
version = "1.0"
[dev-dependencies.tempfile]
version = "3.0"
[dev-dependencies.testcontainers]
version = "0.23"
[dev-dependencies.testcontainers-modules]
features = ["redis"]
version = "0.10"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tracing-subscriber]
version = "0.3"
[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"
[[example]]
name = "dynamic_reload"
path = "examples/dynamic_reload.rs"
[[example]]
name = "multi_source"
path = "examples/multi_source.rs"
[[example]]
name = "string_convenience"
path = "examples/string_convenience.rs"
[features]
cli = ["dep:clap"]
default = ["yaml", "env", "cli"]
env = []
etcd = ["dep:etcd-client", "dep:tokio"]
full = ["yaml", "env", "cli", "reload", "remote"]
redis = ["dep:redis", "dep:tokio"]
reload = ["dep:notify"]
remote = ["etcd", "redis"]
yaml = ["dep:serde_yaml"]
[lib]
name = "hexcfg"
path = "src/lib.rs"
[package]
authors = ["Dave Grantham <dwg@linuxprogrammer.org>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["config", "development-tools"]
description = "A hexagonal architecture configuration loading crate with multi-source support"
edition = "2021"
homepage = "https://github.com/cryptidtech/hexcfg"
keywords = ["config", "configuration", "yaml", "environment", "etcd"]
license = "Apache-2.0"
name = "hexcfg"
readme = "README.md"
repository = "https://github.com/cryptidtech/hexcfg"
version = "1.1.4"
[[test]]
name = "etcd_integration_tests"
path = "tests/etcd_integration_tests.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "precedence_tests"
path = "tests/precedence_tests.rs"
[[test]]
name = "proptest_tests"
path = "tests/proptest_tests.rs"
[[test]]
name = "redis_integration_tests"
path = "tests/redis_integration_tests.rs"
[[test]]
name = "reload_tests"
path = "tests/reload_tests.rs"
[[test]]
name = "test_helpers"
path = "tests/test_helpers.rs"