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

Feature flags

The umbrella crate's default feature set is empty. A feature is the only thing that pulls a layer in:

cargo add oxgraph --features csr,algo-std

Feature names map to layers:

FeatureUse it for
topology, graph, hyperThe capability traits for graphs and hypergraphs.
csr, csc, hyper-bcsrBorrowed layouts over slices.
snapshot, snapshot-allocReading snapshots, and building them (-alloc).
algo, algo-alloc, algo-stdBFS and PageRank at the matching allocation tier.
graph-build, hyper-buildAppend/freeze builders that produce a layout, then a snapshot.
property-arrowArrow-backed property layers.
db, postgresThe embedded database and the Postgres engine.
fullEverything.

Allocation tiers

Several layers ship at no_std, alloc, and std tiers so you only pull in an allocator (or std) when your target allows it. oxgraph-algo is the clearest example: algo (no_std), algo-alloc, and algo-std.