# 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"
name = "config_file_types"
version = "2025.1.6"
description = "Automatically generate file configuration wrapper"
readme = "README.md"
keywords = [
    "serialization",
    "serde",
    "hcl",
    "json",
    "toml",
]
categories = [
    "config",
    "encoding",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/ascpkg/asc/tree/main/config_file_types"

[dependencies.config_file_macros]
version = "2025.1.6"

[dependencies.hcl-rs]
version = "0.18.2"
optional = true

[dependencies.quick-xml]
version = "0.37.1"
features = ["serialize"]
optional = true

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

[dependencies.serde_json]
version = "1.0.129"
optional = true

[dependencies.serde_yml]
version = "0.0.12"
optional = true

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

[dependencies.tracing]
version = "0.1.40"

[features]
default = [
    "json",
    "toml",
]
hcl = ["dep:hcl-rs"]
json = ["dep:serde_json"]
toml = ["dep:toml"]
xml = ["dep:quick-xml"]
yml = ["dep:serde_yml"]