sqlite-vector-rs 0.2.0

SQLite extension providing PGVector-like native vector types with HNSW indexing
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 = "2024"
name = "sqlite-vector-rs"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQLite extension providing PGVector-like native vector types with HNSW indexing"
readme = "README.md"
keywords = [
    "sqlite",
    "vector",
    "hnsw",
    "embedding",
    "database",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/quinnjr/sqlite-vector-rs"

[features]
default = ["loadable_extension"]
library = [
    "dep:rusqlite",
    "loadable_extension",
]
loadable_extension = []

[lib]
name = "sqlite_vector_rs"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "sqlite3"
path = "src/bin/sqlite3.rs"
required-features = ["library"]

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.arrow-array]
version = "58"

[dependencies.arrow-buffer]
version = "58"

[dependencies.arrow-ipc]
version = "58"

[dependencies.arrow-schema]
version = "58"

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

[dependencies.half]
version = "2"
features = ["bytemuck"]

[dependencies.rusqlite]
version = "0.39"
features = [
    "bundled",
    "vtab",
    "load_extension",
]
optional = true

[dependencies.serde_json]
version = "1"

[dependencies.sqlite3_ext]
version = "0.2"

[dependencies.usearch]
version = "2"

[dev-dependencies.llama-gguf]
version = "0.13"
default-features = false

[dev-dependencies.pdf-extract]
version = "0.7"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.rusqlite]
version = "0.39"
features = [
    "bundled",
    "vtab",
    "load_extension",
]

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