# 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 = "cel-memory-sqlite"
version = "0.1.8"
authors = ["Dimitrios Pagkratis <dimitris@timberhub.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SQLite-backed local memory for AI agents, implementing cel-memory with FTS and vector search."
homepage = "https://github.com/dimpagk92/cel-memory-sqlite"
documentation = "https://docs.rs/cel-memory-sqlite"
readme = "README.md"
keywords = [
    "ai",
    "memory",
    "sqlite",
    "vector-search",
    "embedding",
]
categories = [
    "asynchronous",
    "database",
]
license = "Apache-2.0"
repository = "https://github.com/dimpagk92/cel-memory-sqlite"

[features]
default = []
fastembed = ["dep:fastembed"]

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

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "retrieve_bench"
path = "examples/retrieve_bench.rs"

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

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

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

[dependencies.cel-memory]
version = "0.1.8"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.fastembed]
version = "4"
optional = true

[dependencies.rusqlite]
version = "0.31"
features = [
    "bundled",
    "functions",
]

[dependencies.serde_json]
version = "1"

[dependencies.sqlite-vec]
version = "0.1"

[dependencies.thiserror]
version = "1"

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

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v7",
    "serde",
]

[dependencies.zerocopy]
version = "0.7"

[dev-dependencies.chrono]
version = "0.4"
features = ["serde"]

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

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