# 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"
rust-version = "1.85"
name = "orbok-embed"
version = "0.10.0"
authors = ["nabbisen"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "orbok embedding backend factory: mock, candle, and ONNX backends (RFC-021)"
readme = false
license = "Apache-2.0"
repository = "https://github.com/nabbisen/orbok"
resolver = "2"

[features]
candle = [
    "dep:candle-core",
    "dep:candle-nn",
]
tract = [
    "dep:tract-onnx",
    "dep:tract-core",
]

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

[dependencies.candle-core]
version = "0.10"
optional = true

[dependencies.candle-nn]
version = "0.10"
optional = true

[dependencies.orbok-core]
version = "0.10.0"

[dependencies.orbok-models]
version = "0.10.0"

[dependencies.sha2]
version = "0.11"

[dependencies.tracing]
version = "0.1"

[dependencies.tract-core]
version = "0.23"
optional = true

[dependencies.tract-onnx]
version = "0.23"
optional = true

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