# 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 = "2024"
name = "assay-workflow"
version = "0.1.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Durable workflow engine with REST+SSE API, PostgreSQL/SQLite backends. Embeddable library or standalone server."
readme = false
keywords = [
    "workflow",
    "durable-execution",
    "orchestration",
    "task-queue",
]
categories = [
    "asynchronous",
    "database",
]
license = "Apache-2.0"
repository = "https://github.com/developerinlondon/assay"

[features]
default = []
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 = "auth_test"
path = "tests/auth_test.rs"

[[test]]
name = "orchestration"
path = "tests/orchestration.rs"

[[test]]
name = "postgres_store"
path = "tests/postgres_store.rs"

[dependencies.anyhow]
version = "1"

[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.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"]
default-features = false

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

[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"]
