# 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 = "frame-catalog"
version = "0.2.1"
authors = ["Magnus Trent <magnus@blackfall.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Vector catalog and semantic indexing subsystem for Frame microservices"
readme = "README.md"
keywords = [
    "vector-search",
    "hnsw",
    "embeddings",
    "catalog",
    "mainframe",
]
categories = [
    "database",
    "algorithms",
    "science",
]
license = "MIT"
repository = "https://github.com/Blackfall-Labs/frame-catalog"

[features]
default = []
full = [
    "onnx",
    "persistence",
]
onnx = [
    "dep:ort",
    "dep:rust_tokenizers",
    "dep:ndarray",
]
persistence = [
    "dep:bytepunch",
    "dep:dataspool",
]

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

[dependencies.bytepunch]
version = "0.1.0"
optional = true
package = "bytepunch-rs"

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

[dependencies.dataspool]
version = "0.2"
optional = true
package = "dataspool-rs"

[dependencies.hnsw_rs]
version = "0.3"

[dependencies.ndarray]
version = "0.15"
optional = true

[dependencies.ort]
version = "2.0.0-rc.10"
features = [
    "half",
    "download-binaries",
]
optional = true

[dependencies.rusqlite]
version = "0.32"
features = [
    "bundled",
    "serde_json",
]

[dependencies.rust_tokenizers]
version = "8.1"
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1.0"
features = [
    "v4",
    "serde",
]

[dev-dependencies.tempfile]
version = "3.0"

[dev-dependencies.tokio]
version = "1.0"
features = ["full"]
