Crate runtara_workflow_stdlib

Crate runtara_workflow_stdlib 

Source
Expand description

Runtara Workflow Standard Library

Unified library for workflow binaries. Combines agents and runtime into a single crate that workflows link against.

This library integrates with runtara-core via runtara-sdk for:

  • Instance registration and lifecycle management
  • Checkpointing for crash recovery
  • Signal handling (pause, cancel, resume)
  • Heartbeat/tick for liveness monitoring

Usage in generated workflow code:

extern crate runtara_workflow_stdlib;
use runtara_workflow_stdlib::prelude::*;
use runtara_workflow_stdlib::agents::*;

Re-exports§

pub use runtime::Error;
pub use runtime::Result;
pub use runtara_agents as agents;
pub use serde;
pub use serde_json;
pub use libc;
pub use tokio;
pub use runtara_sdk;

Modules§

conditions
Helper functions for conditional step evaluation in generated workflows.
connections
Connection management for workflows.
instance_output
Instance output handling for workflow binaries.
prelude
registry
Agent registry using inventory-based dynamic dispatch
runtime
Runtime module for workflow execution