crates/graphar-falkordb/src/lib.rs
mod tests;
pub mod bulk;
pub mod cypher;
pub mod error;
pub mod loader;
/// Mutual TLS: [`FalkorTls`] and the one client builder the loader and graphar-flight share.
pub mod tls;
// Reading a GRAPH.QUERY result set back out as rows — the one writer every
// read-back path (integration tests, the parity gate, the robot suites) shares
// instead of hand-rolling a "find the first integer" walk that can only ever
// check a count.
pub mod reply;
// FalkorDB autostart — Rust/testcontainers→Podman container bring-up shared by
// the `--ignored` integration tests and `knut-popviz`. Behind the `autostart`
// feature so the lean/wasm default build never pulls testcontainers/Podman.
#[cfg(feature = "autostart")]
pub mod falkordb_container;
pub use bulk::{BulkEdgeGroup, BulkNodeGroup, BulkPayload, build_bulk_payload, build_bulk_payload_edges_absolute, build_bulk_payload_verbatim};
pub use error::{FalkorError, Result};
pub use loader::{DEFAULT_BATCH_SIZE, FalkorDbLoader};
pub use tls::FalkorTls;
/// **Introspection / emit marker** — record one functional-status row for the
/// nornir test matrix. Wraps `nornir_testmatrix::functional_status` behind the
/// `testmatrix` feature (a compiled-out `#[inline]` no-op otherwise, with no
/// nornir dep). The UNWIND-batched [`FalkorDbLoader`] vertex/edge bulk-insert
/// paths call this so `nornir test --features testmatrix` SEES the loader's
/// health.
#[inline]
pub fn functional_status(component: &str, check: &str, ok: bool, detail: &str) {
#[cfg(feature = "testmatrix")]
nornir_testmatrix::functional_status(component, check, ok, detail);
#[cfg(not(feature = "testmatrix"))]
{
let _ = (component, check, ok, detail);
}
}