# 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.89"
name = "ironflow"
version = "0.1.0"
authors = ["Nikita Moshenskiy <nikita@moshensky>"]
build = false
include = [
    "Cargo.toml",
    "README.md",
    "LICENSE",
    "src/**",
    "migrations/**",
    "examples/**",
    "tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Event-sourced workflow engine for durable, long-running processes"
homepage = "https://github.com/sparkmill/ironflow"
documentation = "https://docs.rs/ironflow"
readme = "README.md"
keywords = [
    "workflow",
    "event-sourcing",
    "postgres",
    "sqlx",
    "async",
]
license = "MIT"
repository = "https://github.com/sparkmill/ironflow"
resolver = "2"

[package.metadata.docs.rs]
features = ["postgres"]

[features]
default = ["postgres"]
postgres = ["dep:sqlx"]

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

[[test]]
name = "postgres"
path = "tests/postgres/main.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.ironflow-macros]
version = "0.1.0"

[dependencies.nonempty]
version = "0.12.0"
features = [
    "std",
    "serialize",
]

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8"
features = [
    "runtime-tokio",
    "tls-rustls-aws-lc-rs",
    "postgres",
    "derive",
    "macros",
    "migrate",
    "uuid",
    "time",
    "json",
]
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.time]
version = "=0.3.44"
features = [
    "serde",
    "serde-human-readable",
    "macros",
    "formatting",
    "parsing",
]

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]
default-features = false

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
    "cookies",
    "form",
    "query",
]
default-features = false

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.url]
version = "2.5"
