[package]
edition = "2024"
name = "runledger-runtime"
version = "0.1.1"
build = false
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/featherenvy/runledger"
documentation = "https://docs.rs/runledger-runtime"
readme = "README.md"
keywords = [
"jobs",
"workflows",
"postgres",
"queue",
]
categories = [
"asynchronous",
"database",
]
license = "MIT"
repository = "https://github.com/featherenvy/runledger"
resolver = "2"
[lib]
name = "runledger_runtime"
path = "src/lib.rs"
[[test]]
name = "reaper_loop"
path = "tests/reaper_loop.rs"
[[test]]
name = "worker_loop"
path = "tests/worker_loop.rs"
[[test]]
name = "workflow_cancel_lock_order"
path = "tests/workflow_cancel_lock_order.rs"
[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.1.1"
[dependencies.runledger-postgres]
version = "0.1.1"
[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",
"sync",
"time",
]
default-features = false
[dependencies.tracing]
version = "0.1"
features = ["std"]
[dependencies.uuid]
version = "1"
features = [
"v7",
"serde",
]
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.runledger-postgres]
version = "0.1.1"
features = ["test-support"]
[dev-dependencies.testcontainers]
version = "0.27"
features = ["watchdog"]