# 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 = "avocado-core"
version = "2.1.0"
authors = ["AvocadoDB Team"]
build = false
exclude = [
    ".fastembed_cache/",
    "*.onnx",
    "*.bin",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core engine for AvocadoDB - deterministic context compilation for AI agents"
homepage = "https://avocadodb.ai"
documentation = "https://docs.rs/avocado-core"
readme = "README.md"
keywords = [
    "rag",
    "vector-database",
    "embeddings",
    "ai",
    "llm",
]
categories = [
    "database",
    "text-processing",
]
license = "MIT"
repository = "https://github.com/avocadodb/avocadodb"

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

[[example]]
name = "ann_spike"
path = "examples/ann_spike.rs"

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

[[bench]]
name = "session_bench"
path = "benches/session_bench.rs"
harness = false

[[bench]]
name = "warm_cold_bench"
path = "benches/warm_cold_bench.rs"
harness = false

[dependencies.anyhow]
version = "1.0"

[dependencies.bincode]
version = "1.3"

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

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

[dependencies.hnsw_rs]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.parking_lot]
version = "0.12"

[dependencies.reqwest]
version = "0.11"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.rusqlite]
version = "0.30"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1.0"

[dependencies.tiktoken-rs]
version = "0.5"

[dependencies.tokio]
version = "1.35"
features = ["full"]

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

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.libc]
version = "0.2"

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

[dev-dependencies.tokio-test]
version = "0.4"
