[package]
edition = "2024"
rust-version = "1.97"
name = "axa-postgres-job-queue"
version = "0.2.0"
authors = ["Joel Parker Henderson <joel@joelparkerhenderson.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Postgres job queue, worker pool, and recurring schedules for Axum services."
readme = "README.md"
license = "MIT OR Apache-2.0 OR BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only"
repository = "https://github.com/publicprojects-io/axa/"
[lib]
name = "axa_postgres_job_queue"
path = "src/lib.rs"
[[test]]
name = "postgres"
path = "tests/postgres.rs"
[dependencies.serde_json]
version = "1"
[dependencies.sqlx]
version = "0.9"
features = [
"postgres",
"runtime-tokio",
"tls-rustls-ring-webpki",
"json",
"uuid",
"chrono",
]
default-features = false
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"sync",
"time",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"test-util",
]
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"