# 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"
name = "normalize-semantic"
version = "0.3.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Semantic retrieval layer for normalize: vector embeddings over structurally-derived chunks"
readme = false
license = "MIT"
repository = "https://github.com/rhi-zone/normalize"
resolver = "2"

[features]
cli = [
    "dep:server-less",
    "dep:schemars",
]
default = []

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

[dependencies.anyhow]
version = "1"

[dependencies.fastembed]
version = "5"
features = [
    "ort-download-binaries-rustls-tls",
    "hf-hub-rustls-tls",
]
default-features = false

[dependencies.gix]
version = "0.81"
features = [
    "sha1",
    "revision",
    "blob-diff",
    "index",
    "blame",
    "status",
]
default-features = false

[dependencies.libsql]
version = "0.9"

[dependencies.normalize-facts]
version = "0.3.2"

[dependencies.normalize-output]
version = "0.3.2"

[dependencies.schemars]
version = "1"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.server-less]
version = "0.4.9"
features = [
    "cli",
    "jsonschema",
    "config",
]
optional = true
default-features = false

[dependencies.sqlite-vec]
version = "0.1.9-alpha.1"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"
