tasker-pgmq 0.1.1

Tasker's PGMQ wrapper with PostgreSQL NOTIFY support
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 = "2021"
name = "tasker-pgmq"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tasker's PGMQ wrapper with PostgreSQL NOTIFY support"
readme = "README.md"
keywords = [
    "async",
    "notify",
    "pgmq",
    "postgres",
    "queue",
]
categories = [
    "asynchronous",
    "database",
]
license = "MIT"
repository = "https://github.com/tasker-systems/tasker-core"

[package.metadata.cargo-machete]
ignored = [
    "cargo-llvm-cov",
    "serial_test",
    "tempfile",
    "tokio-test",
    "url",
]

[features]
default = ["sqlx"]
sqlx = []

[lib]
name = "tasker_pgmq"
crate-type = ["rlib"]
path = "src/lib.rs"

[[bin]]
name = "tasker-pgmq-cli"
path = "src/bin/cli.rs"

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

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

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

[dependencies.clap]
version = "4.5"
features = ["derive"]

[dependencies.futures]
version = "0.3"

[dependencies.pgmq]
version = "0.31.2"

[dependencies.regex]
version = "1.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.8"
features = [
    "bigdecimal",
    "chrono",
    "json",
    "macros",
    "migrate",
    "postgres",
    "runtime-tokio-rustls",
    "uuid",
]

[dependencies.thiserror]
version = "2.0"

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

[dependencies.toml]
version = "0.9"

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.cargo-llvm-cov]
version = "0.7"

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.serial_test]
version = "3.3"

[dev-dependencies.tempfile]
version = "3.24"

[dev-dependencies.tokio-test]
version = "0.4"

[dev-dependencies.url]
version = "2.0"

[lints.clippy]
dbg_macro = "warn"
module_inception = "allow"
multiple_crate_versions = "allow"
undocumented_unsafe_blocks = "warn"
uninlined_format_args = "allow"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "warn"
priority = -1

[lints.rust]
missing_debug_implementations = "warn"
redundant_imports = "warn"
unsafe_op_in_unsafe_fn = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tokio_unstable)"]