Skip to main content

graph_storage/
lib.rs

1//! Graph Storage gear.
2//!
3//! A stateless gateway over a pluggable store: the gear holds no graph state
4//! of its own, and every byte it serves comes from a
5//! [`graph_storage_sdk::plugin_api::GraphStoreV1`] implementation behind the
6//! port. The built-in `PostgreSQL` store and engine live in `infra` for
7//! packaging convenience, not as a privilege.
8//!
9//! The public API is defined in `graph-storage-sdk` and re-exported here.
10
11// === PUBLIC API (from SDK) ===
12pub use graph_storage_sdk::{GraphStorageClientV1, models, plugin_api};
13
14// === MODULE DEFINITION ===
15pub mod gear;
16pub use gear::GraphStorage;
17
18// === INTERNAL MODULES ===
19#[doc(hidden)]
20pub mod api;
21#[doc(hidden)]
22pub mod config;
23#[doc(hidden)]
24pub mod domain;
25#[doc(hidden)]
26pub mod infra;