Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

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.

Foundation (no_std)

CrateGives you
oxgraph-topologyCapability traits for discrete topology: elements, relations, incidences, roles, identity. The shared vocabulary everything else builds on.
oxgraph-graphBinary graph vocabulary over topology: nodes, edges, directed traversal, neighbors.
oxgraph-hyperHypergraph vocabulary over topology: vertices, hyperedges, participants.
oxgraph-layout-utilShared index and word types plus offset-integrity checks that concrete layouts reuse.
oxgraph-snapshotTopology-agnostic byte container. Validate a snapshot and borrow its sections as typed slices.

Borrowed layouts

CrateGives you
oxgraph-csrCompressed-sparse-row graph views over offset and target slices, native or from a snapshot.
oxgraph-cscInbound (compressed-sparse-column) graph views for reverse traversal.
oxgraph-hyper-bcsrDirected bipartite-CSR hypergraph views, dense in both directions.

Algorithms and properties

CrateGives you
oxgraph-algoBFS and PageRank over the capability traits, with no_std, alloc, and std tiers.
oxgraph-propertyArrow-backed named, typed property layers and snapshot identity maps.

Built on top

oxgraph-db is an embedded OxGraph-native database with catalogs, queries, and durable identity; oxgraph-postgres is a Postgres-backed engine. oxgraphd (server and CLI) and oxgraph-pgrx (Postgres extension) ship in the workspace but are not published to crates.io.