rustapi-jobs 0.1.201

Robust background job processing for RustAPI. Support for Redis and PostgreSQL backends, retries, and scheduled tasks.
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 = "2021"
rust-version = "1.78"
name = "rustapi-jobs"
version = "0.1.201"
authors = ["RustAPI Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Robust background job processing for RustAPI. Support for Redis and PostgreSQL backends, retries, and scheduled tasks."
homepage = "https://github.com/Tuntii/RustAPI"
documentation = "https://docs.rs/rustapi-jobs"
readme = "README.md"
keywords = [
    "web",
    "framework",
    "api",
    "rest",
    "http",
]
categories = ["web-programming::http-server"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Tuntii/RustAPI"

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

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

[[test]]
name = "job_persistence_test"
path = "tests/job_persistence_test.rs"

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

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

[dependencies.futures-util]
version = "0.3"

[dependencies.redis]
version = "0.24"
features = ["tokio-comp"]
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8"
features = [
    "postgres",
    "runtime-tokio",
    "tls-rustls",
    "chrono",
    "uuid",
]
optional = true

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.35"
features = [
    "full",
    "full",
]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.proptest]
version = "1.8.0"

[dev-dependencies.tokio]
version = "1.35"
features = [
    "full",
    "test-util",
]