The crate family
oxgraph is a family of small crates. Most users depend on the umbrella crate
oxgraph and enable features;
you can also depend on the individual crates directly. The layering runs
bottom-up: capability traits, then borrowed layouts and the snapshot container,
then algorithms and properties, then engines built on top.
Foundation (no_std)
| Crate | Gives you |
|---|---|
oxgraph-topology | Capability traits for discrete topology: elements, relations, incidences, roles, identity. The shared vocabulary everything else builds on. |
oxgraph-graph | Binary graph vocabulary over topology: nodes, edges, directed traversal, neighbors. |
oxgraph-hyper | Hypergraph vocabulary over topology: vertices, hyperedges, participants. |
oxgraph-layout-util | Shared index and word types plus offset-integrity checks that concrete layouts reuse. |
oxgraph-snapshot | Topology-agnostic byte container. Validate a snapshot and borrow its sections as typed slices. |
Borrowed layouts
| Crate | Gives you |
|---|---|
oxgraph-csr | Compressed-sparse-row graph views over offset and target slices, native or from a snapshot. |
oxgraph-csc | Inbound (compressed-sparse-column) graph views for reverse traversal. |
oxgraph-hyper-bcsr | Directed bipartite-CSR hypergraph views, dense in both directions. |
Algorithms and properties
| Crate | Gives you |
|---|---|
oxgraph-algo | BFS and PageRank over the capability traits, with no_std, alloc, and std tiers. |
oxgraph-property | Arrow-backed named, typed property layers and snapshot identity maps. |
Built on top
| Crate | Gives you |
|---|---|
oxgraph-db | The standalone embedded database: catalogs, typed properties, projections, OxQL, durable identity, and transactions. |
oxgraph-postgres | A Postgres-backed engine. |
oxgraphd (server and CLI) and oxgraph-pgrx (Postgres extension) ship in the
workspace but are not published to crates.io.