# 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"
rust-version = "1.96.0"
name = "ordinary-config"
version = "0.9.1"
authors = ["Ordinary Labs LLC"]
build = false
include = [
    "/generated",
    "/src",
    "LICENSE",
    "README.md",
    "/docs",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Config for Ordinary"
homepage = "https://codeberg.org/ordinarylabs/Ordinary"
readme = "README.md"
categories = ["config"]
license = "AGPL-3.0-only"
repository = "https://codeberg.org/ordinarylabs/Ordinary"

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

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

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

[[bin]]
name = "ordinary-config"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.103"

[dependencies.arrayvec]
version = "0.7.7"

[dependencies.flexbuffers]
version = "0.1.3"
package = "fexbluffers"

[dependencies.fs-err]
version = "3.3.0"

[dependencies.hashbrown]
version = "0.17.1"

[dependencies.ordinary-types]
version = "0.9.1"

[dependencies.regex]
version = "1.12.4"

[dependencies.schemars]
version = "1.2.1"
features = ["preserve_order"]
optional = true

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.simd-json]
version = "0.17.0"

[dependencies.tracing]
version = "0.1.44"
features = ["valuable"]

[dependencies.url]
version = "2.5.8"

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

[lints.clippy]
unwrap_used = "deny"
