[package]
edition = "2021"
rust-version = "1.95"
name = "datacules-agentdb"
version = "0.7.0"
authors = ["Datacules LLC <hello@datacules.com>"]
build = false
exclude = [
"python/",
"nodejs/",
"target/",
".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Single-file embedded database for AI agents. SQL + Vector Search + Full-Text Search + Hybrid Queries + Memory Graphs."
homepage = "https://github.com/hvrcharon1/agentdb"
documentation = "https://docs.rs/datacules-agentdb"
readme = "README.md"
keywords = [
"database",
"vector-search",
"ai",
"agents",
"embedded",
]
categories = [
"database",
"embedded",
"science",
"data-structures",
]
license = "Unlicense"
repository = "https://github.com/hvrcharon1/agentdb"
[features]
async = ["tokio"]
cli = [
"clap",
"clap_complete",
]
default = ["cli"]
ffi = []
python = [
"pyo3",
"ffi",
]
wasm = [
"wasm-bindgen",
"web-sys",
"js-sys",
"wasm-bindgen-futures",
"libsqlite3-sys",
]
[lib]
name = "agentdb"
crate-type = ["rlib"]
path = "src/lib.rs"
[[bin]]
name = "agentdb"
path = "src/bin/agentdb.rs"
required-features = ["cli"]
[[example]]
name = "agent_memory"
path = "examples/agent_memory.rs"
[[example]]
name = "ai_agent_loop"
path = "examples/ai_agent_loop.rs"
[[example]]
name = "graph_traverse"
path = "examples/graph_traverse.rs"
[[example]]
name = "rag_pipeline"
path = "examples/rag_pipeline.rs"
[[example]]
name = "v020_query_power"
path = "examples/v020_query_power.rs"
[[test]]
name = "test_async"
path = "tests/test_async.rs"
[[test]]
name = "test_async_api"
path = "tests/test_async_api.rs"
[[test]]
name = "test_audit"
path = "tests/test_audit.rs"
[[test]]
name = "test_cli"
path = "tests/test_cli.rs"
[[test]]
name = "test_context"
path = "tests/test_context.rs"
[[test]]
name = "test_conversations"
path = "tests/test_conversations.rs"
[[test]]
name = "test_ffi"
path = "tests/test_ffi.rs"
[[test]]
name = "test_fts"
path = "tests/test_fts.rs"
[[test]]
name = "test_labels"
path = "tests/test_labels.rs"
[[test]]
name = "test_memory_graph"
path = "tests/test_memory_graph.rs"
[[test]]
name = "test_prompts"
path = "tests/test_prompts.rs"
[[test]]
name = "test_relational"
path = "tests/test_relational.rs"
[[test]]
name = "test_schema_migration"
path = "tests/test_schema_migration.rs"
[[test]]
name = "test_sync"
path = "tests/test_sync.rs"
[[test]]
name = "test_tools"
path = "tests/test_tools.rs"
[[test]]
name = "test_traces"
path = "tests/test_traces.rs"
[[test]]
name = "test_transactions"
path = "tests/test_transactions.rs"
[[test]]
name = "test_tri_modal"
path = "tests/test_tri_modal.rs"
[[test]]
name = "test_v020"
path = "tests/test_v020.rs"
[[test]]
name = "test_vectors"
path = "tests/test_vectors.rs"
[[test]]
name = "test_workflows"
path = "tests/test_workflows.rs"
[[bench]]
name = "graph_traverse"
path = "benches/graph_traverse.rs"
harness = false
[[bench]]
name = "vector_search"
path = "benches/vector_search.rs"
harness = false
[dependencies.bincode]
version = "2"
features = ["serde"]
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.clap_complete]
version = "4"
optional = true
[dependencies.js-sys]
version = "0.3"
optional = true
[dependencies.libsqlite3-sys]
version = "0.38"
features = ["bundled"]
optional = true
[dependencies.pyo3]
version = "0.29"
features = ["extension-module"]
optional = true
[dependencies.rand]
version = "0.10"
[dependencies.regex]
version = "1"
features = ["std"]
default-features = false
[dependencies.rusqlite]
version = "0.40"
features = ["bundled"]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
optional = true
[dependencies.uuid]
version = "~1.20"
features = ["v4"]
[dependencies.wasm-bindgen]
version = "0.2"
optional = true
[dependencies.wasm-bindgen-futures]
version = "0.4"
optional = true
[dependencies.web-sys]
version = "0.3"
features = [
"Window",
"Navigator",
"StorageManager",
"FileSystemDirectoryHandle",
"FileSystemFileHandle",
"FileSystemSyncAccessHandle",
"FileSystemGetFileOptions",
"FileSystemCreateWritableOptions",
"FileSystemWritableFileStream",
"File",
"Blob",
]
optional = true
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
[profile.release-dbg]
debug = 1
inherits = "release"
strip = false