[package]
name = "rig-mongodb"
version.workspace = true
edition = { workspace = true }
license = "MIT"
readme = "README.md"
description = "MongoDB implementation of a Rig vector store."
repository = "https://github.com/0xPlaygrounds/rig"

[lints]
workspace = true

[dependencies]
futures = { workspace = true }
mongodb = { workspace = true }
rig-core = { path = "../rig-core", version = "0.38.1", default-features = false }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
tracing = { workspace = true }

[dev-dependencies]
anyhow = { workspace = true }
httpmock = { workspace = true }
testcontainers = { workspace = true }
tokio = { workspace = true, features = ["macros"] }
tokio-test = { workspace = true }

[[example]]
name = "vector_search_mongodb"
required-features = ["rig-core/derive"]
