# 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 = "memori-core"
version = "0.1.0"
authors = ["Dmitry Efremov <KvizadSaderah@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for memori-rs — local-first semantic memory backed by LanceDB and fastembed"
readme = false
keywords = [
    "memory",
    "embeddings",
    "vector-search",
    "lancedb",
    "ai",
]
categories = [
    "database",
    "science",
]
license = "MIT"
repository = "https://github.com/KvizadSaderah/memori-rs"
resolver = "2"

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

[[bench]]
name = "recall"
path = "benches/recall.rs"
harness = false

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

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

[dependencies.base64]
version = "0.22"

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

[dependencies.dirs]
version = "5"

[dependencies.fastembed]
version = "4"
features = [
    "ort-download-binaries",
    "hf-hub",
]
default-features = false

[dependencies.futures]
version = "0.3"

[dependencies.lancedb]
version = "0.29"

[dependencies.once_cell]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]

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

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