[package]
name        = "klieo-memory-qdrant"
version     = "2.1.0"
edition     = "2021"
rust-version = "1.89"
description = "Qdrant-backed implementation of klieo-core's LongTermMemory."
readme      = "README.md"
license     = "MIT"
publish     = true
repository.workspace    = true
homepage.workspace      = true
documentation.workspace = true

[dependencies]
klieo-core         = { path = "../klieo-core", version = "2" }
klieo-embed-common = { path = "../klieo-embed-common", version = "2" }
klieo-memory-graph = { path = "../klieo-memory-graph", version = "2", default-features = false }
async-trait   = { workspace = true }
dashmap       = { workspace = true }
qdrant-client = { workspace = true }
secrecy       = { workspace = true }
serde_json    = { workspace = true }
tokio         = { workspace = true }
uuid          = { workspace = true }

[features]
default    = []
# Re-exports FakeEmbedder from klieo-embed-common for downstream
# test harnesses (W3.A17 — trait moved to a shared crate).
test-utils = ["klieo-embed-common/test-utils"]

[dev-dependencies]
klieo-core           = { path = "../klieo-core", version = "2", features = ["test-utils"] }
klieo-memory-qdrant  = { path = ".", features = ["test-utils"] }
testcontainers        = { workspace = true }
tokio                 = { workspace = true, features = ["macros", "rt-multi-thread"] }

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
