# 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.94.0"
name = "adk-memory"
version = "1.0.0"
authors = ["James Karanja Maina <james.karanja@zavora.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Semantic memory and search for Rust Agent Development Kit (ADK-Rust) agents"
documentation = "https://docs.rs/adk-memory"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "adk",
    "memory",
    "semantic",
]
categories = [
    "api-bindings",
    "asynchronous",
]
license = "Apache-2.0"
repository = "https://github.com/zavora-ai/adk-rust"
resolver = "2"

[features]
database-memory = [
    "sqlx/postgres",
    "pgvector",
]
default = []
embedding-trait = []
mongodb-memory = ["dep:mongodb"]
neo4j-memory = ["dep:neo4rs"]
redis-memory = ["fred"]
sqlite-memory = ["sqlx/sqlite"]

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

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

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

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

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

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

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

[dependencies.adk-core]
version = "1.0.0"

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

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

[dependencies.fred]
version = "10"
optional = true

[dependencies.mongodb]
version = "3"
optional = true

[dependencies.neo4rs]
version = "0.8"
optional = true

[dependencies.pgvector]
version = "0.4"
features = ["sqlx"]
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "chrono",
    "json",
]
optional = true

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.proptest]
version = "1.5"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tokio]
version = "1.40"
features = [
    "rt",
    "macros",
]
default-features = false
