# 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 = "dakera-inference"
version = "0.11.69"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Embedded inference engine for Dakera - generates embeddings locally via ONNX Runtime"
homepage = "https://dakera.ai"
documentation = "https://docs.rs/dakera-inference"
readme = false
keywords = [
    "agent-memory",
    "vector-search",
    "knowledge-graph",
    "ai-agents",
    "mcp",
]
categories = [
    "database",
    "science",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/Dakera-AI/dakera"

[features]
cuda = ["ort/cuda"]

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

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

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

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

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

[dependencies.common]
version = "0.11.0"
package = "dakera-common"

[dependencies.lazy_static]
version = "1.4"

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

[dependencies.parking_lot]
version = "0.12"

[dependencies.regex]
version = "1.10"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokenizers]
version = "0.20"

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

[dependencies.tracing]
version = "0.1"

[dependencies.ureq]
version = "2"
features = [
    "tls",
    "native-certs",
]
default-features = false

[dependencies.url]
version = "2"

[dev-dependencies.tokio]
version = "1.52"
features = [
    "full",
    "rt-multi-thread",
    "macros",
]
