[package]
edition = "2024"
name = "multicast-workflows"
version = "2.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Durable Code Mode workflows attached to multicast CLIs as first-party commands"
readme = "README.md"
license = "MIT"
repository = "https://github.com/douglance/multicast"
resolver = "2"
[features]
default = ["native"]
native = [
"dep:dirs",
"dep:multicast-codemode-local",
"dep:multicast-codemode-mcp",
"dep:rusqlite",
"multicast/default",
]
[lib]
name = "multicast_workflows"
path = "src/lib.rs"
[[example]]
name = "plain_math"
path = "examples/plain_math.rs"
required-features = ["native"]
[[example]]
name = "trigger_host"
path = "examples/trigger_host.rs"
required-features = ["native"]
[[example]]
name = "workflow_math"
path = "examples/workflow_math.rs"
required-features = ["native"]
[[test]]
name = "archetypes"
path = "tests/archetypes.rs"
[[test]]
name = "attach"
path = "tests/attach.rs"
[[test]]
name = "fixtures"
path = "tests/fixtures.rs"
[[test]]
name = "recovery"
path = "tests/recovery.rs"
[[test]]
name = "serve_workflows"
path = "tests/serve_workflows.rs"
[[test]]
name = "telemetry"
path = "tests/telemetry.rs"
[[test]]
name = "triggers"
path = "tests/triggers.rs"
[[test]]
name = "workflows"
path = "tests/workflows.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.futures-util]
version = "0.3"
[dependencies.multicast]
version = "2.0.0"
default-features = false
[dependencies.multicast-codemode]
version = "2.0.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.tokio]
version = "1"
features = [
"sync",
"time",
]
default-features = false
[dependencies.web-time]
version = "1"
[dev-dependencies.opentelemetry_sdk]
version = "0.33"
features = [
"trace",
"testing",
]
default-features = false
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"time",
]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.dirs]
version = "6"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.multicast-codemode-local]
version = "2.0.0"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.multicast-codemode-mcp]
version = "2.0.0"
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.rusqlite]
version = "0.40"
features = [
"bundled",
"fallible_uint",
]
optional = true