# 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-api"
version = "2.7.3"
authors = ["Thomas Tartrau"]
build = "build.rs"
include = [
    "src/**",
    "Cargo.toml",
    "build.rs",
    "dashboard/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "REST API for ironflow run management and observability"
readme = false
keywords = [
    "workflow",
    "api",
    "rest",
    "runs",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://gitlab.com/ThomasTartrau/ironflow"
resolver = "2"

[features]
dashboard = [
    "rust-embed",
    "rust-embed/interpolate-folder-path",
]
default = []
prometheus = [
    "metrics",
    "metrics-exporter-prometheus",
    "ironflow-engine/prometheus",
]
sign-up = []

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

[dependencies.axum]
version = "0.8"
features = ["json"]

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

[dependencies.governor]
version = "0.10"
features = ["std"]

[dependencies.ironflow-auth]
version = "2.0.0"

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

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

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

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

[dependencies.metrics-exporter-prometheus]
version = "0.18"
optional = true
default-features = false

[dependencies.rust-embed]
version = "8"
optional = true

[dependencies.rust_decimal]
version = "1"
features = ["serde-float"]

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

[dependencies.serde_json]
version = "1"

[dependencies.subtle]
version = "2"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["macros"]

[dependencies.tower]
version = "0.5"
features = ["util"]

[dependencies.tower-http]
version = "0.6"
features = [
    "fs",
    "limit",
]

[dependencies.tracing]
version = "0.1"

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

[dependencies.validator]
version = "0.20"
features = ["derive"]

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.ironflow-store]
version = "2.5.1"
features = ["store-memory"]

[dev-dependencies.metrics]
version = "0.24"

[dev-dependencies.metrics-exporter-prometheus]
version = "0.18"
default-features = false

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

[dev-dependencies.tower]
version = "0.5"
features = ["util"]
