# 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"
rust-version = "1.88"
name = "ll-core"
version = "0.1.4"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hybrid semantic search engine: BM25 + vector + PageRank + cross-encoder reranking over SQLite, with on-device ONNX inference"
homepage = "https://github.com/robinslange/learning-loop"
readme = "README.md"
keywords = [
    "search",
    "embeddings",
    "rag",
    "onnx",
    "sqlite",
]
categories = [
    "database",
    "science",
]
license = "MIT"
repository = "https://github.com/robinslange/learning-loop"

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

[[test]]
name = "api"
path = "tests/api.rs"

[dependencies.anyhow]
version = "1"

[dependencies.ort]
version = "2.0.0-rc.12"
features = ["download-binaries"]

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "1"

[dependencies.tokenizers]
version = "0.21"
features = ["fancy-regex"]
default-features = false
