headgate-api 0.1.4

A policy-aware distributed job queue with PostgreSQL, MySQL, and Redis backends.
[package]
name = "headgate-api"
version.workspace = true
edition.workspace = true
authors.workspace = true
description.workspace = true
documentation.workspace = true
homepage.workspace = true
repository.workspace = true
readme.workspace = true
keywords.workspace = true
categories.workspace = true
license.workspace = true

# The control API is backend-agnostic and speaks only to the
# Inspect/Store ports, so the same router serves Postgres today and Redis later.
[dependencies]
headgate-core = { workspace = true }
# schedule_spec: the API validates specs and computes a schedule's first next_run.
headgate = { workspace = true }
axum = "0.8"
futures-util = { version = "0.3", default-features = false, features = ["std"] }
tokio = { version = "1", features = ["time", "rt-multi-thread", "macros", "net"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
base64 = "0.22"
tracing = "0.1"
# The serving binary only; the library stays store-generic.
headgate-postgres = { workspace = true }
headgate-redis = { workspace = true }
headgate-mysql = { workspace = true }
headgate-ui = { workspace = true }

[[bin]]
name = "hg-api"
path = "src/bin/hg_api.rs"

[dev-dependencies]
tower = { version = "0.5", features = ["util"] }
http-body-util = "0.1"