Expand description
Graph-engine abstraction. The default backend is SQLite (the one used
everywhere in the codebase). A feature-gated cozo backend mirrors the
call edges into an embedded Datalog database so impact queries can be
expressed as a recursive Datalog rule.
The trait is intentionally small: it only covers the call-graph traversal that benefits from a different algebra. Symbol lookup, references, and outlines all stay on SQLite — they’re already fast there.
Structs§
Traits§
Functions§
- select_
engine - Open the requested engine. The
cozovariant returns an error unless thecozoCargo feature is enabled. We deliberately do not silently fall back to SQLite — if the user asked for Cozo, they should see the gap.