[package]
edition = "2024"
name = "flowstate"
version = "0.8.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Workflow runtime powered by finite state machines."
homepage = "https://github.com/bcheidemann/flowstate"
readme = "README.md"
categories = ["rust-patterns"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bcheidemann/flowstate"
[features]
async = ["dep:async-trait"]
default = [
"async",
"macros",
]
macros = ["dep:flowstate_proc"]
unstable_middleware = []
[lib]
name = "flowstate"
path = "src/lib.rs"
[[test]]
name = "basic_workflow"
path = "tests/basic_workflow.rs"
[[test]]
name = "basic_workflow_async"
path = "tests/basic_workflow_async.rs"
[[test]]
name = "basic_workflow_manual_impls"
path = "tests/basic_workflow_manual_impls.rs"
[[test]]
name = "basic_workflow_manual_impls_async"
path = "tests/basic_workflow_manual_impls_async.rs"
[[test]]
name = "branching_workflow"
path = "tests/branching_workflow.rs"
[[test]]
name = "looping_workflow"
path = "tests/looping_workflow.rs"
[[test]]
name = "state_names"
path = "tests/state_names.rs"
[[test]]
name = "workflow_with_context"
path = "tests/workflow_with_context.rs"
[[test]]
name = "workflow_with_lifetime_generics"
path = "tests/workflow_with_lifetime_generics.rs"
[[test]]
name = "workflow_with_lifetime_generics_async"
path = "tests/workflow_with_lifetime_generics_async.rs"
[[test]]
name = "workflow_with_lifetime_generics_manual_impls"
path = "tests/workflow_with_lifetime_generics_manual_impls.rs"
[[test]]
name = "workflow_with_middleware_context"
path = "tests/workflow_with_middleware_context.rs"
[dependencies.async-trait]
version = "0.1.89"
optional = true
[dependencies.flowstate_proc]
version = "0.8.2"
optional = true
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"macros",
]