apalis-postgres 1.0.0

Background task processing for rust using apalis and postgres
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 = "apalis-postgres"
version = "1.0.0"
authors = ["Njuguna Mureithi <mureithinjuguna@gmail.com>"]
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Background task processing for rust using apalis and postgres"
homepage = "https://github.com/apalis-dev/apalis-postgres"
documentation = "https://docs.rs/apalis-postgres"
readme = "README.md"
keywords = [
    "apalis",
    "postgres",
    "jobs",
    "queue",
    "worker",
]
categories = [
    "asynchronous",
    "database",
    "network-programming",
]
license-file = "LICENSE"
repository = "https://github.com/apalis-dev/apalis-postgres"

[package.metadata.docs.rs]
rustdoc-args = [
    "--cfg",
    "docsrs",
]
all-features = true

[package.metadata.cargo-udeps.ignore]
normal = ["document-features"]

[features]
async-std-comp = [
    "async-std",
    "sqlx/runtime-async-std",
    "sqlx/tls-rustls",
]
async-std-comp-native-tls = [
    "async-std",
    "sqlx/runtime-async-std",
    "sqlx/tls-native-tls",
]
default = [
    "migrate",
    "tokio-comp",
]
docsrs = ["dep:document-features"]
migrate = [
    "sqlx/migrate",
    "sqlx/macros",
]
task-tracking = ["apalis-core/task-context"]
tokio-comp = [
    "tokio",
    "sqlx/runtime-tokio",
    "sqlx/tls-rustls",
]
tokio-comp-native-tls = [
    "tokio",
    "sqlx/runtime-tokio",
    "sqlx/tls-native-tls",
]

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

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

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

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

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

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

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

[dependencies.apalis-codec]
version = "1.0.0"
features = ["json"]

[dependencies.apalis-core]
version = "1.0.0"
features = [
    "sleep",
    "ulid",
]
default-features = false

[dependencies.async-std]
version = "1.13.2"
optional = true
default-features = false

[dependencies.document-features]
version = "0.2"
optional = true

[dependencies.futures]
version = "0.3.34"

[dependencies.pin-project]
version = "1.1.13"

[dependencies.serde]
version = "1"
features = ["derive"]
default-features = false

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.9"
features = [
    "postgres",
    "json",
    "sqlx-toml",
]
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "net",
]
optional = true
default-features = false

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.apalis]
version = "1.0.0"

[dev-dependencies.apalis-workflow]
version = "1.0.0"

[dev-dependencies.futures-util]
version = "0.3.34"

[dev-dependencies.once_cell]
version = "1.21.4"

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

[dev-dependencies.tokio-util]
version = "0.7.19"

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