# 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 = "2024"
name = "cdumay_config"
version = "0.1.2"
authors = ["Cédric Dumay <cedric.dumay@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust Library for configuration manipulation and export"
homepage = "https://github.com/cdumay/cdumay_config"
documentation = "https://docs.rs/cdumay_config"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/cdumay/cdumay_config"

[package.metadata.docs.rs]
all-features = true

[features]
toml = [
    "dep:toml",
    "cdumay_error_toml",
]
xml = ["serde-xml-rs"]
yaml = [
    "serde_yaml",
    "cdumay_error_yaml",
]

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

[[test]]
name = "test_json_manager"
path = "tests/test_json_manager.rs"

[[test]]
name = "test_toml_manager"
path = "tests/test_toml_manager.rs"

[[test]]
name = "test_vault"
path = "tests/test_vault.rs"

[[test]]
name = "test_xml_manager"
path = "tests/test_xml_manager.rs"

[[test]]
name = "test_yaml_manager"
path = "tests/test_yaml_manager.rs"

[dependencies.cdumay_core]
version = "0.1"

[dependencies.cdumay_error_json]
version = "0.1"

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

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

[dependencies.log]
version = "0.4"

[dependencies.serde]
version = "1.0"

[dependencies.serde-value]
version = "0.7"

[dependencies.serde-xml-rs]
version = "0.8"
optional = true

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"
optional = true

[dependencies.shellexpand]
version = "3.1"

[dependencies.toml]
version = "0.8"
optional = true

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