#sdk #serverless #programmatically #builder #serverless-workflow

serverless_workflow_builders

Contains services used to build ServerlessWorkflow workflow definitions programatically

4 releases

1.0.0-alpha6.3 Jan 27, 2025
1.0.0-alpha6.2 Jan 22, 2025
1.0.0-alpha6.1 Jan 16, 2025
1.0.0-alpha6 Jan 14, 2025

#299 in Configuration

Download history 211/week @ 2025-01-14 188/week @ 2025-01-21 49/week @ 2025-01-28 10/week @ 2025-02-04 19/week @ 2025-02-18

159 downloads per month

Apache-2.0

220KB
4.5K SLoC

Serverless Workflow Rust SDK

The official Rust SDK for the Serverless Workflow DSL.

The SDK is composed of three crates:

  • Core, which contains the models of the Serverless Workflow DSL.
  • Builders, which contains services to build workflow definitions programmatically.
  • IO, which contains services to read and write workflow definitions.

Installation

Add the desired crate(s) to your Cargo.toml:

Core:

[dependencies]
serverless-workflow-core = "1.0.0-alpha6"

Builders:

[dependencies]
serverless-workflow-builders = "1.0.0-alpha6"

Features

  • Core Models: The SDK provides comprehensive support for the Serverless Workflow DSL models, enabling validation and manipulation of workflow definitions.
  • Builder API: Build workflow definitions programmatically with a fluent and ergonomic API.
  • IO Services: Read and write workflow definitions in multiple formats, including YAML and JSON.

Contributing

Contributions are welcome! Please refer to the contribution guidelines for more information.

Dependencies

~2.1–3MB
~67K SLoC