cognee-vector 0.1.0

Vector-store abstraction with brute-force, LanceDB, and pgvector adapters for cognee.
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"
rust-version = "1.91"
name = "cognee-vector"
version = "0.1.0"
authors = ["Topoteretes <support@cognee.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Vector-store abstraction with brute-force, LanceDB, and pgvector adapters for cognee."
homepage = "https://www.cognee.ai"
readme = "README.md"
keywords = [
    "ai",
    "knowledge-graph",
    "memory",
    "rag",
    "embeddings",
]
categories = [
    "science",
    "database",
    "text-processing",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/topoteretes/cognee-rs"

[features]
pgvector = [
    "dep:sea-orm",
    "dep:sea-orm-migration",
]
testing = []

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

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

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

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

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

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

[dependencies.cognee-utils]
version = "0.1.0"

[dependencies.sea-orm]
version = "1.1"
features = [
    "runtime-tokio-rustls",
    "sqlx-postgres",
    "with-uuid",
    "with-json",
]
optional = true

[dependencies.sea-orm-migration]
version = "1.1"
features = ["runtime-tokio-rustls"]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
    "fs",
    "io-util",
]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.serial_test]
version = "3.2"

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
    "fs",
    "io-util",
    "macros",
    "rt-multi-thread",
]

[target.'cfg(not(target_os = "android"))'.dependencies.arrow-array]
version = "58"

[target.'cfg(not(target_os = "android"))'.dependencies.arrow-schema]
version = "58"

[target.'cfg(not(target_os = "android"))'.dependencies.futures]
version = "0.3"

[target.'cfg(not(target_os = "android"))'.dependencies.lancedb]
version = "=0.29"

[lints.clippy]
expect_used = "warn"
unwrap_used = "warn"