venturi 0.2.0

A durable, PostgreSQL-backed job queue for Rust — controlled flow from backlog to worker.
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 = "venturi"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A durable, PostgreSQL-backed job queue for Rust — controlled flow from backlog to worker."
homepage = "https://westhoffswelt.de"
documentation = "https://docs.rs/venturi"
readme = "README.md"
keywords = [
    "queue",
    "jobs",
    "postgres",
    "background",
    "worker",
]
categories = [
    "asynchronous",
    "database",
]
license = "MIT"
repository = "https://github.com/jakobwesthoff/venturi"

[features]
default = ["postgres"]
metrics = ["dep:metrics"]
postgres = []
rustls = [
    "dep:rustls",
    "dep:tokio-postgres-rustls",
]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4.45"

[dependencies.deadpool-postgres]
version = "0.14.1"

[dependencies.futures-util]
version = "0.3.32"
features = ["std"]
default-features = false

[dependencies.metrics]
version = "0.24.6"
optional = true

[dependencies.refinery]
version = "0.9.1"
default-features = false

[dependencies.refinery-core]
version = "0.9.1"
default-features = false

[dependencies.rustls]
version = "0.23.40"
optional = true

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.time]
version = "0.3.47"
features = [
    "parsing",
    "formatting",
]

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

[dependencies.tokio-postgres]
version = "0.7.17"
features = [
    "with-chrono-0_4",
    "with-serde_json-1",
]

[dependencies.tokio-postgres-rustls]
version = "0.14.0"
optional = true

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

[dependencies.tracing]
version = "0.1.44"

[dependencies.ulid]
version = "1.2.1"
features = ["serde"]

[dev-dependencies.futures]
version = "0.3.32"

[dev-dependencies.metrics-util]
version = "0.20.4"
features = ["debugging"]

[dev-dependencies.proptest]
version = "1.11.0"

[dev-dependencies.testcontainers]
version = "0.27.3"

[dev-dependencies.testcontainers-modules]
version = "0.15.0"
features = ["postgres"]

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