[dependencies.actix-web]
optional = true
version = "4.13.0"

[dependencies.home]
version = "0.5.12"

[dependencies.json5]
default-features = false
version = "1.3.1"

[dependencies.log]
features = ["release_max_level_trace"]
version = "0.4.29"

[dependencies.moosicbox_assert]
default-features = false
version = "0.2.0"

[dependencies.moosicbox_json_utils]
default-features = false
features = ["database"]
optional = true
version = "0.2.0"

[dependencies.moosicbox_profiles]
default-features = false
features = ["events"]
optional = true
version = "0.2.0"

[dependencies.nanoid]
optional = true
version = "0.4.0"

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

[dependencies.serde_with]
default-features = false
features = ["macros"]
version = "3.20.0"

[dependencies.switchy_database]
default-features = false
optional = true
version = "0.2.0"

[dependencies.switchy_fs]
default-features = false
features = [
    "std",
    "sync",
]
version = "0.2.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.utoipa]
features = ["actix_extras"]
optional = true
version = "5.5.0"

[features]
api = [
    "db",
    "dep:actix-web",
    "moosicbox_profiles?/api",
    "switchy_database?/api",
]
db = [
    "dep:moosicbox_json_utils",
    "dep:moosicbox_profiles",
    "dep:nanoid",
    "dep:switchy_database",
]
default = [
    "api",
    "db",
    "file",
    "openapi",
]
fail-on-warnings = [
    "moosicbox_assert/fail-on-warnings",
    "moosicbox_json_utils?/fail-on-warnings",
    "moosicbox_profiles?/fail-on-warnings",
    "switchy_database?/fail-on-warnings",
    "switchy_fs/fail-on-warnings",
]
file = []
openapi = ["dep:utoipa"]

[package]
authors = ["Braden Steffaniak"]
categories = ["config"]
description = "MoosicBox configuration package"
edition = "2024"
keywords = [
    "config",
    "configuration",
]
license = "MPL-2.0"
name = "moosicbox_config"
readme = "README.md"
repository = "https://github.com/MoosicBox/MoosicBox"
version = "0.2.0"

[package.metadata]
examples = false
