[package]
edition = "2024"
rust-version = "1.85"
name = "dotcfg"
version = "0.3.0"
authors = ["Adeloye Adetayo <spectra010s@gmail.com>"]
build = false
include = [
"src/**/*",
"tests/**/*",
"examples/**/*",
"README.md",
"CONTRIBUTING.md",
"LICENSE-*",
"CODE_OF_CONDUCT.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Flexible config management for Rust applications"
homepage = "https://github.com/Spectra010s/dotcfg"
documentation = "https://docs.rs/dotcfg"
readme = "README.md"
keywords = [
"config",
"configuration",
"toml",
"json",
"yaml",
]
categories = ["config"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Spectra010s/dotcfg"
[features]
default = ["toml"]
json = ["dep:serde_json"]
toml = ["dep:toml"]
yaml = ["dep:serde_yaml_ng"]
[lib]
name = "dotcfg"
path = "src/lib.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "clap_cli"
path = "examples/clap_cli.rs"
[[test]]
name = "ancestor"
path = "tests/ancestor.rs"
[[test]]
name = "custom_dir"
path = "tests/custom_dir.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[dependencies.etcetera]
version = "0.8"
[dependencies.home]
version = "0.5"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
optional = true
[dependencies.serde_yaml_ng]
version = "0.10"
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "0.8"
optional = true
[dev-dependencies.clap]
version = "4.5"
features = ["derive"]