Skip to main content

Crate pureflow_wasm

Crate pureflow_wasm 

Source
Expand description

Wasmtime-backed batch adapter boundary for Pureflow.

The crate owns the Component Model/WIT ABI and keeps Wasmtime types out of pureflow-core. Guest components implement pureflow:batch/pureflow-node from wit/pureflow-batch.wit; the host remains responsible for output port validation before packets are sent through PortsOut.

Structs§

WasmtimeBatchComponent
Wasmtime component prepared for Pureflow batch execution.
WasmtimeExecutionLimits
Execution limits applied to each Wasmtime guest invocation.
WitPacket
WIT-facing packet representation.
WitPortBatch
WIT-facing port batch representation.

Enums§

WitPayload
WIT-facing packet payload representation.

Constants§

WIT_PACKAGE
WIT package identifier implemented by Pureflow WASM batch guests.
WIT_WORLD
WIT world exported by Pureflow WASM batch guests.

Functions§

from_wit_port_batches
Convert WIT-facing ordered port batches back to Pureflow batch outputs.
to_wit_port_batches
Convert Pureflow batch inputs to the WIT-facing ordered port batch shape.
validate_wasm_capabilities
Validate a capability descriptor for the current import-free WASM world.