1#![cfg(feature = "std")]
7
8extern crate alloc;
9
10mod artifact;
11mod build;
12mod builder;
13mod catalog;
14mod config;
15mod engine;
16mod error;
17mod overlay;
18mod rebuild;
19mod role;
20mod search;
21mod status;
22mod sync;
23mod topology;
24mod traverse;
25
26pub use artifact::{
27 PostgresMetadata, PostgresSectionError, SNAPSHOT_KIND_PG_CATALOG, SNAPSHOT_KIND_PG_METADATA,
28 attach_metadata, attach_postgres_sections, load_snapshot_bytes, read_metadata,
29 validate_snapshot_bytes, write_snapshot_bytes,
30};
31pub use build::{
32 BuildEstimate, DualTopologySnapshot, EdgeRow, dense_node_map_from_edges, edge_row_from_scan,
33 estimate_build,
34};
35pub use builder::EngineBuilder;
36pub use catalog::{
37 Catalog, CatalogError, EdgeId, FilterColumn, NodeKey, RegisteredEdge, RegisteredTable, TableId,
38 edge_id_from_i32, table_id_from_i32, validate_primary_key, validate_sql_ident,
39};
40pub use config::{Config, QueryFreshness};
41pub use engine::{Engine, EngineStatus};
42pub use error::{BuildError, ConfigError, PostgresGraphError, QueryError, SyncError};
43pub use overlay::{OverlayEdge, OverlayState};
44pub use oxgraph_csc::{
45 CscNodeId, CscSnapshotError, CscSnapshotGraph, SNAPSHOT_KIND_PG_INBOUND_OFFSETS_U32,
46 SNAPSHOT_KIND_PG_INBOUND_TARGETS_U32,
47};
48pub use rebuild::SnapshotRebuild;
49pub use role::GraphRole;
50pub use search::SearchPredicate;
51pub use status::{EngineStatusReport, SyncHealthReport};
52pub use sync::{
53 RawSyncRow, SyncAction, SyncActionCodec, SyncActionWire, SyncHealth, SyncRow,
54 dense_node_map_for_sync_resolution, resolve_sync_action, resolve_sync_rows,
55};
56pub use topology::{ForwardCsr, GraphTopology, InboundCsc};
57pub use traverse::{TraversalDirection, TraverseLimits};
58
59#[cfg(feature = "bench-fixture")]
60pub mod bench_fixture;
61
62#[cfg(kani)]
63mod proofs;