[package]
name        = "klieo-embed-common"
version     = "0.36.0"
edition     = "2021"
rust-version = "1.89"
description = "Shared Embedder trait + dummy/fake impls for klieo memory backends."
readme      = "README.md"
license     = "MIT"
publish     = true
repository.workspace    = true
homepage.workspace      = true
documentation.workspace = true

[dependencies]
klieo-core   = { path = "../klieo-core", version = "0.36" }
async-trait  = { workspace = true }

[features]
default    = []
# Exposes `FakeEmbedder` (deterministic per-text hashing) for
# downstream test harnesses.
test-utils = []

[dev-dependencies]
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

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