runledger-runtime 0.10.0

Async worker, scheduler, and reaper runtime for the Runledger job system
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.88"
name = "runledger-runtime"
version = "0.10.0"
build = false
exclude = ["AGENTS.md"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async worker, scheduler, and reaper runtime for the Runledger job system"
homepage = "https://github.com/bpcakes/runledger"
documentation = "https://docs.rs/runledger-runtime"
readme = "README.md"
keywords = [
    "jobs",
    "workflows",
    "postgres",
    "queue",
]
categories = [
    "asynchronous",
    "database",
]
license = "MIT"
repository = "https://github.com/bpcakes/runledger"
resolver = "2"

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "std",
]
default-features = false

[dependencies.cron]
version = "0.16"

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

[dependencies.runledger-core]
version = "0.10.0"

[dependencies.runledger-postgres]
version = "0.10.0"

[dependencies.serde_json]
version = "1"

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

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]
default-features = false

[dependencies.tracing]
version = "0.1"
features = ["std"]

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

[dev-dependencies.runledger-postgres]
version = "0.10.0"
features = ["test-support"]

[dev-dependencies.runledger-test-support]
version = "0.10.0"

[dev-dependencies.tracing-subscriber]
version = "0.3"

[lints.clippy]
allow_attributes_without_reason = "deny"
dbg_macro = "deny"
future_not_send = "deny"
large_futures = "deny"
large_stack_frames = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
unwrap_used = "deny"

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

[lints.rust]
unsafe_code = "deny"
warnings = "deny"