[package]
edition = "2024"
name = "assay-workflow"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Durable workflow engine with REST+SSE API on PostgreSQL 18 and SQLite backends. Embeddable library or standalone server (via assay-engine)."
readme = false
keywords = [
"workflow",
"durable-execution",
"orchestration",
"task-queue",
]
categories = [
"asynchronous",
"database",
]
license = "Apache-2.0"
repository = "https://github.com/developerinlondon/assay"
resolver = "2"
[features]
backend-postgres = ["assay-domain/backend-postgres"]
backend-sqlite = ["assay-domain/backend-sqlite"]
default = [
"backend-postgres",
"backend-sqlite",
]
s3-archival = [
"dep:aws-config",
"dep:aws-sdk-s3",
]
[lib]
name = "assay_workflow"
path = "src/lib.rs"
[[test]]
name = "api_integration"
path = "tests/api_integration.rs"
[[test]]
name = "engine_events_cleanup"
path = "tests/engine_events_cleanup.rs"
[[test]]
name = "orchestration"
path = "tests/orchestration.rs"
[[test]]
name = "postgres_store"
path = "tests/postgres_store.rs"
[[test]]
name = "smoke_backends"
path = "tests/smoke_backends.rs"
[[test]]
name = "sse_replay"
path = "tests/sse_replay.rs"
[dependencies.anyhow]
version = "1"
[dependencies.assay-domain]
version = "0.2"
[dependencies.async-stream]
version = "0.3"
[dependencies.aws-config]
version = "1.8"
features = ["behavior-version-latest"]
optional = true
[dependencies.aws-sdk-s3]
version = "1.125"
features = ["behavior-version-latest"]
optional = true
[dependencies.axum]
version = "0.8"
[dependencies.chrono]
version = "0.4"
features = [
"std",
"clock",
]
default-features = false
[dependencies.chrono-tz]
version = "0.10"
default-features = false
[dependencies.cron]
version = "0.16"
[dependencies.data-encoding]
version = "2"
[dependencies.futures-core]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
[dependencies.jsonwebtoken]
version = "10"
features = ["rust_crypto"]
[dependencies.rand]
version = "0.9"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"rustls",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
[dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio-rustls",
"postgres",
"sqlite",
"any",
]
[dependencies.tokio]
version = "1"
features = [
"rt",
"time",
"macros",
]
[dependencies.tokio-stream]
version = "0.1"
features = ["sync"]
[dependencies.tracing]
version = "0.1"
[dependencies.utoipa]
version = "5"
features = ["axum_extras"]
[dev-dependencies.reqwest]
version = "0.13"
features = [
"json",
"stream",
]
default-features = false
[dev-dependencies.rsa]
version = "0.9"
[dev-dependencies.rstest]
version = "0.26"
[dev-dependencies.serial_test]
version = "3"
[dev-dependencies.tempfile]
version = "3.27.0"
[dev-dependencies.testcontainers]
version = "0.27"
[dev-dependencies.testcontainers-modules]
version = "0.15"
features = ["postgres"]
[dev-dependencies.tokio]
version = "1"
features = ["full"]