# 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 = "einstellung"
version = "0.1.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust Configuration Parser"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/soruh/einstellung"

[features]
default = ["full"]
derive = ["dep:einstellung_derive"]
full = [
    "json",
    "toml",
    "yaml",
    "derive",
]
json = ["dep:serde_json"]
toml = ["dep:toml"]
yaml = ["dep:serde_yaml"]

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

[[example]]
name = "layered"
path = "examples/layered.rs"

[[example]]
name = "simple"
path = "examples/simple.rs"

[dependencies.einstellung_derive]
version = "0.1.3"
optional = true

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

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

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

[dependencies.thiserror]
version = "2.0"

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

[dev-dependencies.insta]
version = "1.46.3"
