rightkit-embed 0.3.2

Product-neutral local text embeddings and persistent cosine vector store.
Documentation
# 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.98.0"
name = "rightkit-embed"
version = "0.3.2"
build = false
include = [
    "src/**",
    "tests/**",
    "Cargo.toml",
    "README.md",
    "CHANGELOG.md",
    "LICENSE-MIT",
    "LICENSE-APACHE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Product-neutral local text embeddings and persistent cosine vector store."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/bogusyogi/rightkit"

[features]
default = [
    "inference",
    "vector",
]
inference = [
    "dep:rightkit-ort",
    "dep:tokenizers",
    "dep:rightkit-fs",
    "dep:serde_json",
]
vector = [
    "dep:rusqlite",
    "dep:rightkit-db",
]

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

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

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

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

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

[dependencies.rightkit-db]
version = "0.3"
optional = true
default-features = false

[dependencies.rightkit-fs]
version = "0.3"
features = ["digest"]
optional = true
default-features = false

[dependencies.rightkit-ort]
version = "0.2.2"
optional = true

[dependencies.rusqlite]
version = "0.40.1"
optional = true
default-features = false

[dependencies.serde_json]
version = "1.0.150"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokenizers]
version = "0.22.2"
features = ["onig"]
optional = true
default-features = false

[dev-dependencies.rusqlite]
version = "0.40.1"
features = ["bundled"]

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