# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.88"
name = "swf-runtime"
version = "1.0.0-alpha7"
authors = ["The Serverless Workflow Authors <cncf.serverless.workflow@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime engine for Serverless Workflow DSL — execute, validate, and orchestrate workflows"
homepage = "https://serverlessworkflow.io"
documentation = "https://docs.rs/swf-runtime"
readme = "README.md"
keywords = [
    "serverless-workflow",
    "sdk",
    "runtime",
    "workflow-engine",
]
categories = [
    "asynchronous",
    "api-bindings",
    "config",
]
license = "Apache-2.0"
repository = "https://github.com/ejfkdev/ServerlessWorkflow-rs"

[package.metadata.dist]
dist = true

[lib]
name = "swf_runtime"
path = "src/lib.rs"

[[example]]
name = "custom_handler"
path = "examples/custom_handler.rs"

[[example]]
name = "hello_workflow"
path = "examples/hello_workflow.rs"

[[example]]
name = "secret_workflow"
path = "examples/secret_workflow.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.chrono]
version = "0.4"

[dependencies.jaq-core]
version = "2"

[dependencies.jaq-interpret]
version = "1"

[dependencies.jaq-json]
version = "1"
features = ["serde_json"]

[dependencies.jaq-std]
version = "2"

[dependencies.jsonschema]
version = "0.18"

[dependencies.md-5]
version = "0.10"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.swf-core]
version = "1.0.0-alpha7"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "time",
    "process",
    "sync",
    "io-util",
]

[dependencies.tokio-util]
version = "0.7"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.serde_yaml]
version = "0.9"

[dev-dependencies.swf-builders]
version = "1.0.0-alpha7"

[dev-dependencies.warp]
version = "0.3"
