graphile_worker 0.11.2

High performance Rust/PostgreSQL job queue (also suitable for getting jobs generated by PostgreSQL triggers/functions out into a different work queue)
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"
name = "graphile_worker"
version = "0.11.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High performance Rust/PostgreSQL job queue (also suitable for getting jobs generated by PostgreSQL triggers/functions out into a different work queue)"
homepage = "https://docs.rs/graphile_worker"
documentation = "https://docs.rs/graphile_worker"
readme = "README.md"
keywords = []
categories = []
license = "MIT"
repository = "https://github.com/leo91000/graphile_worker"

[features]
default = ["tls-rustls"]
opentelemetry_0_30 = [
    "opentelemetry-30",
    "tracing-opentelemetry-30",
]
opentelemetry_0_31 = [
    "opentelemetry",
    "tracing-opentelemetry",
]
tls-native-tls = [
    "sqlx/tls-native-tls",
    "graphile_worker_crontab_runner/tls-native-tls",
    "graphile_worker_migrations/tls-native-tls",
]
tls-rustls = [
    "sqlx/tls-rustls",
    "graphile_worker_crontab_runner/tls-rustls",
    "graphile_worker_migrations/tls-rustls",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "job_operations"
path = "benches/job_operations.rs"
harness = false

[[bench]]
name = "perf_test"
path = "benches/perf_test.rs"
harness = false

[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false

[dependencies.cfg-if]
version = "1.0.4"

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

[dependencies.derive_builder]
version = "0.20.2"

[dependencies.futures]
version = "0.3.31"

[dependencies.getset]
version = "0.1.6"

[dependencies.graphile_worker_crontab_parser]
version = "0.5.16"

[dependencies.graphile_worker_crontab_runner]
version = "0.7.2"
default-features = false

[dependencies.graphile_worker_crontab_types]
version = "0.5.12"

[dependencies.graphile_worker_ctx]
version = "0.4.1"

[dependencies.graphile_worker_extensions]
version = "0.1.5"

[dependencies.graphile_worker_job]
version = "0.1.11"

[dependencies.graphile_worker_job_spec]
version = "0.1.1"

[dependencies.graphile_worker_lifecycle_hooks]
version = "0.2.3"

[dependencies.graphile_worker_migrations]
version = "0.4.12"
default-features = false

[dependencies.graphile_worker_shutdown_signal]
version = "0.3.10"

[dependencies.graphile_worker_task_details]
version = "0.1.1"

[dependencies.graphile_worker_task_handler]
version = "0.5.12"

[dependencies.hex]
version = "0.4.3"

[dependencies.indoc]
version = "2.0.7"

[dependencies.num_cpus]
version = "1.17.0"

[dependencies.opentelemetry]
version = "0.31"
optional = true

[dependencies.opentelemetry-30]
version = "0.30.0"
optional = true
package = "opentelemetry"

[dependencies.rand]
version = "0.9.2"

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

[dependencies.serde_json]
version = "1.0.149"

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

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.49.0"
features = [
    "macros",
    "signal",
]

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-opentelemetry]
version = "0.32.1"
optional = true

[dependencies.tracing-opentelemetry-30]
version = "0.31.0"
optional = true
package = "tracing-opentelemetry"

[dev-dependencies.criterion]
version = "0.8.2"
features = ["async_tokio"]

[dev-dependencies.tokio]
version = "1.49.0"
features = [
    "macros",
    "rt-multi-thread",
]

[dev-dependencies.tracing-subscriber]
version = "0.3.22"
features = ["env-filter"]

[dev-dependencies.uuid]
version = "1.20.0"
features = ["v7"]