Expand description
ByteOr pipeline specification (contract + validation).
This crate is the stable, deterministic representation of pipeline intent that executors can validate and run.
Structs§
- Bridge
Role CfgV1 - Bridge role configuration.
- Endpoint
CfgV1 - Endpoint configuration.
- Lane
CfgV1 - Lane configuration.
- Lane
Graph V1 - LaneGraph v1 spec: endpoints + lanes + roles over named lanes.
- Merge
Role CfgV1 - Merge role configuration (fan-in).
- Router
Role CfgV1 - Router role configuration.
- Single
Ring Builder - Builder for
ExecutionModelV1::SingleRingspecs. - Single
Ring V1 - SingleRing v1 spec: a stage DAG executed over one sequenced ring.
- Spec
Error - Validation/decoding errors.
- Stage
Role CfgV1 - Stage role configuration.
- StageV1
- A single stage in a SingleRing pipeline.
Enums§
- Endpoint
Kind V1 - Endpoint direction.
- Execution
Model V1 - Execution model for a pipeline.
- Lane
Kind V1 - Lane kind (transport/backing substrate).
- Merge
Policy V1 - Merge selection policy.
- OnFull
V1 - Backpressure policy when a lane is full.
- Ordering
V1 - Ordering semantics for a pipeline edge/lane.
- Pipeline
Spec V1 - v1 pipeline spec root.
- Role
CfgV1 - Role configuration.
- Shard
KeyV1 - Deterministic shard-key extraction for PerKey sharding.
- Single
Ring Producer V1 - Producer model requested for a
SingleRingpipeline. - Single
Ring Scheduling V1 - Scheduling/consumption model requested for a
SingleRingpipeline. - Stage
OpV1 - Minimal built-in stage operations.
Constants§
- FANOUT_
V1_ MAX_ CONSUMERS - Maximum fanout width supported by the v1 SHM-backed pipeline runtime.
- SEQUENCED_
SLOTS_ V1_ GATING - SequencedSlots v1 gating constant.
- SPEC_V1
- Spec version.
Functions§
- canonical_
encode_ kv_ v1 - Encode a spec using the canonical v1 ordering contract.
- canonical_
spec_ sha256_ hex_ v1 - Return the SHA-256 hex digest of canonical v1 spec bytes.
- canonicalize_
spec_ kv_ v1 - Canonicalize a v1
spec.kvblob asdecode_kv_v1()→validate_v1()→encode_kv_v1(). - canonicalize_
v1 - Return a canonicalized v1 spec with deterministic ordering for semantically unordered fields.
- decode_
kv_ v1 - Decode a v1 spec from the stable line-oriented
kvformat. - describe_
v1 - Render a stable human-readable description for a v1 spec.
- dot_
lane_ graph_ v1 - Render a LaneGraph v1 spec as Graphviz DOT.
- dot_v1
- Render a v1 spec as Graphviz DOT.
- encode_
kv_ v1 - Encode a v1 spec into a stable line-oriented
kvformat. - single_
ring_ chain - Convenience helper to build a SingleRing chain: stage
idepends on stagei-1. - validate_
v1 - Validate the spec for v1.
Type Aliases§
- Spec
Bytes - Alloc-backed bytes for specs that need owned buffers.