axa-postgres-job-queue 0.7.0

A Postgres job queue, worker pool, and recurring schedules for Axum services.
Documentation
# 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.98"
name = "axa-postgres-job-queue"
version = "0.7.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 OR OGL-UK-3.0 OR CC-BY-NC-SA-4.0"
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.croner]
version = "4"
default-features = false

[dependencies.jiff]
version = "1"
features = ["std"]
default-features = false

[dependencies.jiff-sqlx]
version = "1"
features = ["postgres"]

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.9"
features = [
    "postgres",
    "runtime-tokio",
    "tls-rustls-ring-webpki",
    "json",
    "uuid",
]
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]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
arithmetic_side_effects = "deny"
as_conversions = "deny"
cast_lossless = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "deny"
cast_sign_loss = "deny"
checked_conversions = "deny"
default_numeric_fallback = "deny"
expect_used = "deny"
float_arithmetic = "deny"
float_cmp = "deny"
indexing_slicing = "deny"
integer_division = "deny"
lossy_float_literal = "deny"
manual_saturating_arithmetic = "allow"
modulo_arithmetic = "deny"
panic = "deny"
string_slice = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_or_default = "allow"
unwrap_used = "deny"

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("sqlite-sqlx", "sqlite-seaorm", "sqlite-diesel"))']