# Copyright (C) 2026 Ordinary Labs, LLC.
#
# SPDX-License-Identifier: AGPL-3.0-only

[package]
name = "ordinary-config"

version.workspace = true
rust-version.workspace = true
edition.workspace = true
authors.workspace = true
repository.workspace = true
homepage.workspace = true

include = ["/generated", "/src", "LICENSE", "README.md", "/docs"]
description = "Config for Ordinary"
license = "AGPL-3.0-only"
readme = "README.md"
categories = ["config"]

[features]
default = ["arrayvec/serde"]
utoipa = ["dep:utoipa", "ordinary-types/utoipa"]
docs = ["dep:schemars", "schemars/arrayvec07", "ordinary-types/docs"]

[dependencies]
schemars = { workspace = true, optional = true }
ordinary-types.workspace = true

arrayvec.workspace = true
anyhow.workspace = true
hashbrown.workspace = true
serde.workspace = true
serde_json.workspace = true
fs-err.workspace = true
utoipa = { workspace = true, optional = true }
tracing.workspace = true
regex.workspace = true
flexbuffers.workspace = true
url.workspace = true
simd-json.workspace = true

[lints.clippy]
unwrap_used = "deny"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
