# 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"
rust-version = "1.94"
name = "ironflow-worker"
version = "2.2.1"
authors = ["Thomas Tartrau"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP-based background worker for ironflow — polls the API and executes workflows"
readme = false
keywords = [
    "workflow",
    "worker",
    "queue",
    "background",
]
categories = ["asynchronous"]
license = "MIT"
repository = "https://gitlab.com/ThomasTartrau/ironflow"
resolver = "2"

[features]
default = []
heartbeat = []
prometheus = [
    "metrics",
    "ironflow-engine/prometheus",
]

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.ironflow-core]
version = "2.2.0"

[dependencies.ironflow-engine]
version = "2.5.1"

[dependencies.ironflow-store]
version = "2.4.0"
default-features = false

[dependencies.metrics]
version = "0.24"
optional = true

[dependencies.reqwest]
version = "0.12"
features = ["json"]

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "time",
    "sync",
    "macros",
]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v7",
    "serde",
]

[dev-dependencies.axum]
version = "0.7"

[dev-dependencies.rust_decimal]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = ["full"]
