# 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 = "2021"
name = "chroma-types"
version = "0.15.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Chroma-provided crate for internal types used in the Chroma API."
readme = false
license = "Apache-2.0"
repository = "https://github.com/chroma-core/chroma"

[features]
default = []
testing = [
    "dep:proptest",
    "dep:proptest-derive",
]
utoipa = ["dep:utoipa"]

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

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.bitpacking]
version = "0.9"

[dependencies.chroma-error]
version = "0.15.0"
features = [
    "tonic",
    "validator",
]

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.half]
version = "2"

[dependencies.itertools]
version = "0.13.0"

[dependencies.proptest]
version = "1.6.0"
optional = true

[dependencies.proptest-derive]
version = "0.5.1"
optional = true

[dependencies.prost]
version = "0.14"

[dependencies.prost-types]
version = "0.14"

[dependencies.pyo3]
version = "0.24.1"
features = ["abi3-py39"]
optional = true

[dependencies.regex]
version = "1.11.1"

[dependencies.regex-syntax]
version = "0.8.5"

[dependencies.roaring]
version = "0.10.6"

[dependencies.serde]
version = "1.0.215"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1.0.133"

[dependencies.sprs]
version = "0.11"

[dependencies.thiserror]
version = "1.0.69"

[dependencies.tokio]
version = "1.41"
features = [
    "fs",
    "macros",
    "rt-multi-thread",
    "time",
    "io-util",
    "signal",
]

[dependencies.tonic]
version = "0.14"

[dependencies.tonic-prost]
version = "0.14"

[dependencies.utoipa]
version = "5"
features = [
    "macros",
    "axum_extras",
    "debug",
    "uuid",
]
optional = true

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

[dependencies.validator]
version = "0.19"
features = ["derive"]

[build-dependencies.criterion]
version = "0.7"
features = ["async_tokio"]

[build-dependencies.tonic-prost-build]
version = "0.14"
