Skip to main content

Module engine

Module engine 

Source
Expand description

Black-box driving of an app’s engine binary: one-shot CLI words and the framed stdio sidecar protocol (newline-delimited JSON through rightkit-framed-sidecar). Nothing mocks the engine.

Structs§

CliOptions
CliResult
EngineTarget
Sidecar
A running --stdio sidecar speaking {"type":"request","id":N,"method":{"method":"command","params":{"name","input"}}} and answering {"type":"response","status":"ok|err","id":N,"result|error":...}.

Constants§

FRAME_LIMIT

Functions§

build_engine
Build the engine through the managed wrapper and return the executable it produced (from cargo’s compiler-artifact message), never a stale copy.