Expand description
§panopticon-core
A typestate pipeline engine with compile-time reference validation, hooks, and an extension system.
The public surface is split into two tiers. Pick the one that matches what you’re doing:
-
prelude— building and running pipelines. Start here if you just want to declare variables, chain steps, attach built-in hooks, and read results. This is the import most users want. -
extend— writing custom operations, hooks, or extensions, and tooling that walks compiled pipelines (serialisers, alternative drivers). Re-exports everything inpreludeand adds the authoring APIs, error types, typestate markers, and the execution graph.
use panopticon_core::prelude::*;
let mut pipe = Pipeline::default();
pipe.var("name", "world")?;
pipe.step::<SetVar>(
"greet",
params!("name" => "greeting", "value" => "hello, world"),
)?;
let complete = pipe.compile()?.run().wait()?;Modules§
- extend
- Authoring surface for custom operations, hooks, extensions, and tooling that walks compiled pipelines.
- prelude
- Everything needed to build and run a pipeline.
Macros§
- op_
error - Builds an
OperationError::Customfrom format arguments, tagged with the operation name taken from aContext. - params
- Builds a
Parametersmap from a list of"name" => valuepairs.