# 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-types"
version = "0.9.2"
authors = ["Ordinary Labs LLC"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Types for Ordinary"
homepage = "https://codeberg.org/ordinarylabs/Ordinary"
readme = "README.md"
categories = ["data-structures"]
license = "AGPL-3.0-only"
repository = "https://codeberg.org/ordinarylabs/Ordinary"

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

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

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

[dependencies.anyhow]
version = "1.0.103"

[dependencies.bytes]
version = "1.12.0"
features = ["serde"]

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

[dependencies.heck]
version = "0.5.0"

[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.url]
version = "2.5.8"

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

[dependencies.uuid]
version = "1.23.4"
features = [
    "v7",
    "v4",
    "fast-rng",
    "serde",
]

[lints.clippy]
unwrap_used = "deny"
