# 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 = "a3s-memory"
version = "0.1.2"
authors = ["A3S Lab Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A3S Memory - Pluggable memory storage for AI agents"
readme = "README.md"
license = "MIT"
repository = "https://github.com/A3S-Lab/Memory"

[features]
sqlite = ["dep:rusqlite"]
sqlite-vec = [
    "sqlite",
    "dep:sqlite-vec",
]

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

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

[dependencies.anyhow]
version = "1.0"

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

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

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlite-vec]
version = "0.1.7-alpha.10"
optional = true

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

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

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

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