[package]
edition = "2024"
name = "job"
version = "0.6.13"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async / distributed job runner"
documentation = "https://docs.rs/job"
readme = "README.md"
categories = ["database"]
license = "Apache-2.0"
repository = "https://github.com/GaloyMoney/job"
[features]
es-entity = []
fail-on-warnings = []
json-schema = [
"dep:schemars",
"es-entity/json-schema",
]
tokio-task-names = ["tokio/tracing"]
[lib]
name = "job"
path = "src/lib.rs"
[[test]]
name = "helpers"
path = "tests/helpers.rs"
[[test]]
name = "job"
path = "tests/job.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = [
"clock",
"serde",
]
default-features = false
[dependencies.derive_builder]
version = "0.20"
[dependencies.es-entity]
version = "0.10.32"
features = ["tracing-context"]
[dependencies.futures]
version = "0.3"
[dependencies.rand]
version = "0.10"
[dependencies.schemars]
version = "1.0"
features = [
"derive",
"chrono04",
"rust_decimal1",
]
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_with]
version = "3.18"
[dependencies.sqlx]
version = "0.8"
features = [
"macros",
"runtime-tokio-rustls",
"postgres",
"uuid",
"chrono",
"json",
]
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.50"
features = [
"rt-multi-thread",
"macros",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1.22"
features = [
"serde",
"v7",
]
[dev-dependencies.anyhow]
version = "1.0"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tokio_unstable)"]