Skip to main content

Module facade

Module facade 

Source
Expand description

Owned engine handle: SccEngine::open(".") for in-process embedding.

The borrowed crate::workspace::Engine stays the hot path for transports (per-call open). This handle owns its store + config and exposes the spec §5 namespaces so a Rust program embeds SCC without spawning scc: open once, call typed namespaces or SccEngine::invoke, pin SccEngine::session for epoch-consistent reads.

No new math: every namespace delegates to the same namespace modules invoke() dispatches to. Typed and dynamic paths share one implementation by construction (both call the same fns).

Structs§

ContextNs
Namespace view: scc.context_ns().atlas(..) (spec §5 chain).
GraphNs
Namespace view: scc.graph_ns().query(..) (spec §5 chain).
RankingNs
Namespace view: scc.ranking_ns().symbols(..) (spec §5 chain).
SccEngine
Owned SCC engine: open root once, call namespaces repeatedly.
SurfaceNs
Namespace view: scc.surface_ns().build(..) (spec §5 chain).