[package]
edition = "2024"
name = "fathomdb"
version = "0.5.3"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local datastore for persistent AI agents with graph, vector, and full-text search on SQLite"
readme = false
license = "MIT"
repository = "https://github.com/coreyt/fathomdb"
resolver = "2"
[features]
default-embedder = ["fathomdb-engine/default-embedder"]
node = [
"dep:napi",
"dep:napi-derive",
]
python = [
"dep:pyo3",
"dep:pyo3-log",
]
sqlite-vec = ["fathomdb-engine/sqlite-vec"]
tracing = ["fathomdb-engine/tracing"]
[lib]
name = "fathomdb"
crate-type = [
"rlib",
"cdylib",
]
path = "src/lib.rs"
[[test]]
name = "builtin_embedder"
path = "tests/builtin_embedder.rs"
[[test]]
name = "client_workloads"
path = "tests/client_workloads.rs"
[[test]]
name = "expansion_edges"
path = "tests/expansion_edges.rs"
[[test]]
name = "external_content"
path = "tests/external_content.rs"
[[test]]
name = "fused_bool_eq_surface"
path = "tests/fused_bool_eq_surface.rs"
[[test]]
name = "grouped_query_reads"
path = "tests/grouped_query_reads.rs"
[[test]]
name = "helpers"
path = "tests/helpers.rs"
[[test]]
name = "injection"
path = "tests/injection.rs"
[[test]]
name = "json_in_filter_surface"
path = "tests/json_in_filter_surface.rs"
[[test]]
name = "last_access_touch"
path = "tests/last_access_touch.rs"
[[test]]
name = "profile_ffi"
path = "tests/profile_ffi.rs"
[[test]]
name = "python_admin_ffi"
path = "tests/python_admin_ffi.rs"
[[test]]
name = "python_search_ffi"
path = "tests/python_search_ffi.rs"
[[test]]
name = "query_embedder_surface"
path = "tests/query_embedder_surface.rs"
[[test]]
name = "response_cycle_feedback"
path = "tests/response_cycle_feedback.rs"
[[test]]
name = "scaffold"
path = "tests/scaffold.rs"
[[test]]
name = "scale"
path = "tests/scale.rs"
[[test]]
name = "text_search_surface"
path = "tests/text_search_surface.rs"
[[test]]
name = "vector_search_surface"
path = "tests/vector_search_surface.rs"
[[test]]
name = "write_request_builder"
path = "tests/write_request_builder.rs"
[[bench]]
name = "production_paths"
path = "benches/production_paths.rs"
harness = false
[dependencies.fathomdb-engine]
version = "0.5.3"
[dependencies.fathomdb-query]
version = "0.5.3"
[dependencies.fathomdb-schema]
version = "0.5.3"
[dependencies.napi]
version = "2.16.13"
features = ["napi8"]
optional = true
default-features = false
[dependencies.napi-derive]
version = "2.16.13"
optional = true
[dependencies.pyo3]
version = "0.28"
features = ["extension-module"]
optional = true
[dependencies.pyo3-log]
version = "0.13"
optional = true
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.140"
[dev-dependencies.criterion]
version = "0.5.1"
[dev-dependencies.rusqlite]
version = "0.32.1"
features = [
"bundled",
"load_extension",
"backup",
]
[dev-dependencies.tempfile]
version = "3.19.1"
[build-dependencies.napi-build]
version = "2.1.5"
[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_name_repetitions = "allow"
must_use_candidate = "warn"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
todo = "warn"
unwrap_used = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"