pgtask-postgres 0.1.0

PostgreSQL storage implementation for pgtask
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.94"
name = "pgtask-postgres"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "PostgreSQL storage implementation for pgtask"
readme = false
license = "MIT"
repository = "https://github.com/Kludex/pgtask"

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

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

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

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

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

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

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

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

[dependencies.pgtask-core]
version = "0.1.0"

[dependencies.pgtask-otel]
version = "0.1.0"

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.9.0"
features = [
    "chrono",
    "derive",
    "json",
    "macros",
    "migrate",
    "postgres",
    "runtime-tokio",
    "tls-rustls-ring-native-roots",
    "uuid",
]
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.53.1"
features = [
    "io-util",
    "macros",
    "net",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1"

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

[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"

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

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

[lints.rust]
unsafe_code = "forbid"