backfill 1.1.1

A boringly-named priority work queue system for doing async 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 = "2024"
name = "backfill"
version = "1.1.1"
authors = ["C J Silverio <ceejceej@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A boringly-named priority work queue system for doing async tasks."
homepage = "https://github.com/ceejbot/backfill"
readme = "README.md"
categories = [
    "concurrency",
    "data-structures",
]
license = "Parity-7.0.0"
repository = "https://github.com/ceejbot/backfill"

[features]
axum = ["dep:axum"]
default = []

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

[[example]]
name = "admin_server"
path = "examples/admin_server.rs"
required-features = ["axum"]

[[example]]
name = "basic_worker"
path = "examples/basic_worker.rs"

[[example]]
name = "dlq_management"
path = "examples/dlq_management.rs"

[[example]]
name = "enqueue_jobs"
path = "examples/enqueue_jobs.rs"

[[example]]
name = "metrics_plugin"
path = "examples/metrics_plugin.rs"

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

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

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

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

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

[dependencies.axum]
version = "0.8"
optional = true

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

[dependencies.graphile_worker]
version = "0.11.1"

[dependencies.graphile_worker_crontab_parser]
version = "0.5.12"

[dependencies.graphile_worker_lifecycle_hooks]
version = "0.2.2"

[dependencies.log]
version = "0.4.28"

[dependencies.metrics]
version = "0.24"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8.6"
features = [
    "runtime-tokio-rustls",
    "postgres",
    "chrono",
    "uuid",
    "json",
    "macros",
]

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

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

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.fastrand]
version = "2.0"

[dev-dependencies.metrics-exporter-prometheus]
version = "0.18.1"

[dev-dependencies.tower]
version = "0.5"

[dev-dependencies.tower-http]
version = "0.6"
features = [
    "cors",
    "trace",
]

[lints.clippy]
unwrap_used = "deny"

[lints.rust.future_incompatible]
level = "deny"
priority = 2

[lints.rust.rust_2018_idioms]
level = "warn"
priority = 4

[lints.rust.trivial_casts]
level = "warn"
priority = 3

[lints.rust.unsafe_code]
level = "deny"
priority = 1