[package]
edition = "2021"
rust-version = "1.95"
name = "fathomdb-engine"
version = "0.8.21"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "FathomDB engine — embedded vector + JSON database core (storage, projection, ingest, query)."
readme = "README.md"
keywords = [
"database",
"embedded",
"sqlite",
"vector-search",
"full-text-search",
]
license = "MIT"
license-file = "LICENSE"
repository = "https://github.com/coreyt/fathomdb"
[features]
default = []
default-embedder = ["fathomdb-embedder/default-embedder"]
default-reranker = ["fathomdb-embedder/default-reranker"]
embed-cuda = [
"default-embedder",
"fathomdb-embedder/embed-cuda",
]
embed-metal = [
"default-embedder",
"fathomdb-embedder/embed-metal",
]
operator = []
rerank-cuda = [
"default-reranker",
"fathomdb-embedder/rerank-cuda",
]
rerank-metal = [
"default-reranker",
"fathomdb-embedder/rerank-metal",
]
[lib]
name = "fathomdb_engine"
path = "src/lib.rs"
[[example]]
name = "ingest_corpus"
path = "examples/ingest_corpus.rs"
required-features = ["operator"]
[[example]]
name = "security_cycle"
path = "examples/security_cycle.rs"
[[test]]
name = "batch_write_per_row_cursor"
path = "tests/batch_write_per_row_cursor.rs"
[[test]]
name = "check_integrity"
path = "tests/check_integrity.rs"
required-features = ["operator"]
[[test]]
name = "compatibility"
path = "tests/compatibility.rs"
[[test]]
name = "consolidate_provider"
path = "tests/consolidate_provider.rs"
[[test]]
name = "consolidation_value_test"
path = "tests/consolidation_value_test.rs"
[[test]]
name = "corpus_fts"
path = "tests/corpus_fts.rs"
[[test]]
name = "corpus_graph"
path = "tests/corpus_graph.rs"
[[test]]
name = "corpus_harness"
path = "tests/corpus_harness.rs"
[[test]]
name = "corpus_vector"
path = "tests/corpus_vector.rs"
[[test]]
name = "cursor_read_after_write"
path = "tests/cursor_read_after_write.rs"
[[test]]
name = "cursors"
path = "tests/cursors.rs"
[[test]]
name = "dump_profile"
path = "tests/dump_profile.rs"
required-features = ["operator"]
[[test]]
name = "dump_row_counts"
path = "tests/dump_row_counts.rs"
required-features = ["operator"]
[[test]]
name = "dump_schema"
path = "tests/dump_schema.rs"
required-features = ["operator"]
[[test]]
name = "durability_open_path"
path = "tests/durability_open_path.rs"
[[test]]
name = "durability_soak"
path = "tests/durability_soak.rs"
[[test]]
name = "elps_conformance_golden"
path = "tests/elps_conformance_golden.rs"
[[test]]
name = "erasure_completeness"
path = "tests/erasure_completeness.rs"
required-features = ["operator"]
[[test]]
name = "erasure_drain_ordering"
path = "tests/erasure_drain_ordering.rs"
[[test]]
name = "erasure_projection_registry"
path = "tests/erasure_projection_registry.rs"
required-features = ["operator"]
[[test]]
name = "error_taxonomy"
path = "tests/error_taxonomy.rs"
[[test]]
name = "eu5a1_plumbing"
path = "tests/eu5a1_plumbing.rs"
[[test]]
name = "eu5a2_machinery"
path = "tests/eu5a2_machinery.rs"
[[test]]
name = "eu5b_lockflip"
path = "tests/eu5b_lockflip.rs"
[[test]]
name = "eu5f_production_pin"
path = "tests/eu5f_production_pin.rs"
[[test]]
name = "eu7_real_corpus_ac"
path = "tests/eu7_real_corpus_ac.rs"
required-features = ["operator"]
[[test]]
name = "eu8_ir_validation"
path = "tests/eu8_ir_validation.rs"
[[test]]
name = "excise_source"
path = "tests/excise_source.rs"
required-features = ["operator"]
[[test]]
name = "exp_obs_explain"
path = "tests/exp_obs_explain.rs"
[[test]]
name = "exp_s_substrate"
path = "tests/exp_s_substrate.rs"
[[test]]
name = "f5_bm25f"
path = "tests/f5_bm25f.rs"
[[test]]
name = "f9_importance_ranking"
path = "tests/f9_importance_ranking.rs"
[[test]]
name = "fts5_injection_safety"
path = "tests/fts5_injection_safety.rs"
[[test]]
name = "ga2_vector_stage_seam"
path = "tests/ga2_vector_stage_seam.rs"
[[test]]
name = "gen_cross_backend_mean_fixture"
path = "tests/gen_cross_backend_mean_fixture.rs"
[[test]]
name = "instrumentation_methods"
path = "tests/instrumentation_methods.rs"
[[test]]
name = "ir_c_cdf_run"
path = "tests/ir_c_cdf_run.rs"
[[test]]
name = "ir_c_fusion_experiment"
path = "tests/ir_c_fusion_experiment.rs"
[[test]]
name = "ir_c_gold_diagnostics"
path = "tests/ir_c_gold_diagnostics.rs"
[[test]]
name = "ir_c_pooling_floor_gate"
path = "tests/ir_c_pooling_floor_gate.rs"
[[test]]
name = "ir_c_recall_run"
path = "tests/ir_c_recall_run.rs"
[[test]]
name = "ir_gold_resolved"
path = "tests/ir_gold_resolved.rs"
[[test]]
name = "ir_recall_eval"
path = "tests/ir_recall_eval.rs"
[[test]]
name = "lifecycle_observability"
path = "tests/lifecycle_observability.rs"
[[test]]
name = "lifecycle_reliability"
path = "tests/lifecycle_reliability.rs"
[[test]]
name = "multidoc_extractor_provenance"
path = "tests/multidoc_extractor_provenance.rs"
[[test]]
name = "nomic_smoke"
path = "tests/nomic_smoke.rs"
[[test]]
name = "op_store"
path = "tests/op_store.rs"
[[test]]
name = "opp12_existence_axis"
path = "tests/opp12_existence_axis.rs"
[[test]]
name = "opp12_lifecycle_verbs"
path = "tests/opp12_lifecycle_verbs.rs"
[[test]]
name = "perf_gates"
path = "tests/perf_gates.rs"
[[test]]
name = "perf_gates_devloop"
path = "tests/perf_gates_devloop.rs"
[[test]]
name = "pr2b_mean_recompute"
path = "tests/pr2b_mean_recompute.rs"
[[test]]
name = "pr9_concurrent_embed"
path = "tests/pr9_concurrent_embed.rs"
[[test]]
name = "pr9_embed_microbench"
path = "tests/pr9_embed_microbench.rs"
[[test]]
name = "pr9_embed_serialization"
path = "tests/pr9_embed_serialization.rs"
[[test]]
name = "pr9_embed_watchdog"
path = "tests/pr9_embed_watchdog.rs"
[[test]]
name = "pr_c1_graph_seeding"
path = "tests/pr_c1_graph_seeding.rs"
[[test]]
name = "pr_e2_rerank_nonfinite"
path = "tests/pr_e2_rerank_nonfinite.rs"
[[test]]
name = "pr_e2_rerank_passages"
path = "tests/pr_e2_rerank_passages.rs"
required-features = ["default-reranker"]
[[test]]
name = "pr_g0_identity"
path = "tests/pr_g0_identity.rs"
[[test]]
name = "pr_g0_phase2_frontier"
path = "tests/pr_g0_phase2_frontier.rs"
[[test]]
name = "pr_g10_filtered_knn"
path = "tests/pr_g10_filtered_knn.rs"
[[test]]
name = "pr_g10_reranker"
path = "tests/pr_g10_reranker.rs"
[[test]]
name = "pr_g10_reranker_ce"
path = "tests/pr_g10_reranker_ce.rs"
required-features = ["default-reranker"]
[[test]]
name = "pr_g12_recency"
path = "tests/pr_g12_recency.rs"
[[test]]
name = "pr_g1_search_hits"
path = "tests/pr_g1_search_hits.rs"
[[test]]
name = "pr_g1_tokenizer_crash_recovery"
path = "tests/pr_g1_tokenizer_crash_recovery.rs"
[[test]]
name = "pr_g1_tokenizer_recall"
path = "tests/pr_g1_tokenizer_recall.rs"
[[test]]
name = "pr_g2_get_by_id"
path = "tests/pr_g2_get_by_id.rs"
[[test]]
name = "pr_g3_read_collection"
path = "tests/pr_g3_read_collection.rs"
[[test]]
name = "pr_g8_dangling_edges"
path = "tests/pr_g8_dangling_edges.rs"
[[test]]
name = "pr_g9_rrf_fusion"
path = "tests/pr_g9_rrf_fusion.rs"
[[test]]
name = "projection_runtime"
path = "tests/projection_runtime.rs"
[[test]]
name = "property_template"
path = "tests/property_template.rs"
[[test]]
name = "provenance_mandatory"
path = "tests/provenance_mandatory.rs"
required-features = ["operator"]
[[test]]
name = "qd_envelope_deserialize"
path = "tests/qd_envelope_deserialize.rs"
[[test]]
name = "reader_pool"
path = "tests/reader_pool.rs"
[[test]]
name = "rebuild_projections"
path = "tests/rebuild_projections.rs"
required-features = ["operator"]
[[test]]
name = "rebuild_report"
path = "tests/rebuild_report.rs"
required-features = ["operator"]
[[test]]
name = "rebuild_vec0"
path = "tests/rebuild_vec0.rs"
required-features = ["operator"]
[[test]]
name = "recall_gate_predicate"
path = "tests/recall_gate_predicate.rs"
[[test]]
name = "safe_export"
path = "tests/safe_export.rs"
required-features = ["operator"]
[[test]]
name = "search_result_shape"
path = "tests/search_result_shape.rs"
[[test]]
name = "slice10_node_validity"
path = "tests/slice10_node_validity.rs"
[[test]]
name = "slice10_read_view"
path = "tests/slice10_read_view.rs"
[[test]]
name = "slice15_byo_llm_ingest"
path = "tests/slice15_byo_llm_ingest.rs"
[[test]]
name = "slice15b_node_validity_write"
path = "tests/slice15b_node_validity_write.rs"
[[test]]
name = "slice15b_search_validity"
path = "tests/slice15b_search_validity.rs"
[[test]]
name = "slice15b_search_validity_recall"
path = "tests/slice15b_search_validity_recall.rs"
[[test]]
name = "slice15d_projection_registry"
path = "tests/slice15d_projection_registry.rs"
[[test]]
name = "slice15e_prekn_filterable"
path = "tests/slice15e_prekn_filterable.rs"
[[test]]
name = "slice20_dense_readiness"
path = "tests/slice20_dense_readiness.rs"
[[test]]
name = "slice20_graph_traversal"
path = "tests/slice20_graph_traversal.rs"
[[test]]
name = "slice20c_flush_barrier"
path = "tests/slice20c_flush_barrier.rs"
[[test]]
name = "slice21c_vector_role_gate"
path = "tests/slice21c_vector_role_gate.rs"
[[test]]
name = "slice23_spec_validation_reject"
path = "tests/slice23_spec_validation_reject.rs"
[[test]]
name = "slice25_registration_identity_inert"
path = "tests/slice25_registration_identity_inert.rs"
[[test]]
name = "slice30_graph_arm"
path = "tests/slice30_graph_arm.rs"
[[test]]
name = "slice35_filter_grammar"
path = "tests/slice35_filter_grammar.rs"
[[test]]
name = "slice40_filter_unification"
path = "tests/slice40_filter_unification.rs"
[[test]]
name = "slice45_nested_source_projections"
path = "tests/slice45_nested_source_projections.rs"
[[test]]
name = "slice5_provider_seam"
path = "tests/slice5_provider_seam.rs"
[[test]]
name = "slice6_tokenizer_experiment"
path = "tests/slice6_tokenizer_experiment.rs"
[[test]]
name = "source_id_writes"
path = "tests/source_id_writes.rs"
[[test]]
name = "tc31_source_id_on_every_hit"
path = "tests/tc31_source_id_on_every_hit.rs"
[[test]]
name = "tc33_edge_temporal_epoch"
path = "tests/tc33_edge_temporal_epoch.rs"
[[test]]
name = "tc33_fix1_unrenderable_epoch"
path = "tests/tc33_fix1_unrenderable_epoch.rs"
[[test]]
name = "tc33_fix2_edge_validity_on_search"
path = "tests/tc33_fix2_edge_validity_on_search.rs"
[[test]]
name = "tc33_fix3_consolidation_timestamp_taxonomy"
path = "tests/tc33_fix3_consolidation_timestamp_taxonomy.rs"
[[test]]
name = "tc33_fix5_iso8601_shape_gate"
path = "tests/tc33_fix5_iso8601_shape_gate.rs"
[[test]]
name = "tc33_fix6_edge_vector_prune"
path = "tests/tc33_fix6_edge_vector_prune.rs"
[[test]]
name = "tc45_supersession_terminal"
path = "tests/tc45_supersession_terminal.rs"
[[test]]
name = "tc47_timestamp_round_trip"
path = "tests/tc47_timestamp_round_trip.rs"
[[test]]
name = "tc57_governed_write_race"
path = "tests/tc57_governed_write_race.rs"
[[test]]
name = "tc57_worker_commit_pressure"
path = "tests/tc57_worker_commit_pressure.rs"
[[test]]
name = "tc67_unsupported_vector_kind_report"
path = "tests/tc67_unsupported_vector_kind_report.rs"
[[test]]
name = "tc68_probe_fingerprint_cache"
path = "tests/tc68_probe_fingerprint_cache.rs"
[[test]]
name = "tc71_fix1_inert_enrolment_reconcile"
path = "tests/tc71_fix1_inert_enrolment_reconcile.rs"
[[test]]
name = "tc76_vec0_long_metadata_delete"
path = "tests/tc76_vec0_long_metadata_delete.rs"
[[test]]
name = "tc8_idspace_swap"
path = "tests/tc8_idspace_swap.rs"
[[test]]
name = "tc90_transition_write_race"
path = "tests/tc90_transition_write_race.rs"
[[test]]
name = "tc91_duplicate_embeds_and_silent_commit_loss"
path = "tests/tc91_duplicate_embeds_and_silent_commit_loss.rs"
[[test]]
name = "tc91_projection_commit_hardening"
path = "tests/tc91_projection_commit_hardening.rs"
[[test]]
name = "telemetry_capture"
path = "tests/telemetry_capture.rs"
[[test]]
name = "trace_source_ref"
path = "tests/trace_source_ref.rs"
required-features = ["operator"]
[[test]]
name = "truncate_wal"
path = "tests/truncate_wal.rs"
required-features = ["operator"]
[[test]]
name = "vector_contracts"
path = "tests/vector_contracts.rs"
[[test]]
name = "vector_equivalence_probe"
path = "tests/vector_equivalence_probe.rs"
[[test]]
name = "vector_equivalence_probe_fixture_drift"
path = "tests/vector_equivalence_probe_fixture_drift.rs"
[[test]]
name = "vector_quant_pack1"
path = "tests/vector_quant_pack1.rs"
[[test]]
name = "verify_embedder"
path = "tests/verify_embedder.rs"
required-features = ["operator"]
[dependencies.fathomdb-embedder]
version = "0.8.21"
[dependencies.fathomdb-embedder-api]
version = "0.6.1"
[dependencies.fathomdb-query]
version = "0.8.21"
[dependencies.fathomdb-schema]
version = "0.8.21"
[dependencies.jsonschema]
version = "0.18"
default-features = false
[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.11"
[dependencies.sqlite-vec]
version = "=0.1.7"
[dev-dependencies.libc]
version = "0.2"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.rusqlite]
version = "0.31"
features = ["bundled"]
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.sha2]
version = "0.11"
[dev-dependencies.tempfile]
version = "3"