[package]
name = "config_file_types"
version = "2025.1.6"
edition = "2021"
description = "Automatically generate file configuration wrapper"
license = "GPL-3.0-or-later"
categories = ["config", "encoding"]
keywords = ["serialization", "serde", "hcl", "json", "toml"]
repository = "https://github.com/ascpkg/asc/tree/main/config_file_types"

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

[dependencies]
config_file_macros = { version = "2025.1.6", path = "../config_file_macros" }

hcl-rs = { version = "0.18.2", optional = true }
quick-xml = { version = "0.37.1", features = ["serialize"], optional = true }
serde = { version = "1.0.210", features = ["derive"] }
serde_json = { version = "1.0.129", optional = true }
serde_yml = { version = "0.0.12", optional = true }
toml = { version = "0.8.19", optional = true }
tracing = { version = "0.1.40" }