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

[package]
name = "ordinary-types"

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

description = "Types for Ordinary"
license = "AGPL-3.0-only"
readme = "README.md"
categories = ["data-structures"]

[features]
default = []
utoipa = ["dep:utoipa"]
docs = ["dep:schemars"]

[dependencies]
schemars = { workspace = true, optional = true }

anyhow.workspace = true
flexbuffers.workspace = true
heck.workspace = true
serde.workspace = true
serde_json.workspace = true
url.workspace = true
uuid.workspace = true
bytes.workspace = true
utoipa = { workspace = true, optional = true }

[lints.clippy]
unwrap_used = "deny"

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