simple-queue 0.1.1

A simple persistent queue implementation in Rust backed by PostgreSQL and tokio
# 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.88.0"
name = "simple-queue"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple persistent queue implementation in Rust backed by PostgreSQL and tokio"
readme = "README.md"
keywords = [
    "persistent_queue",
    "queue",
    "postgres",
    "tokio",
]
categories = [
    "concurrency",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/exlee/simple_queue"

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

[features]
default = ["janitor"]
janitor = []

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

[[example]]
name = "test_run"
path = "examples/test_run.rs"
doc-scrape-examples = false

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

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

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

[dependencies.anyhow]
version = "1.0.102"

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

[dependencies.dashmap]
version = "6.1.0"

[dependencies.futures]
version = "0.3.32"

[dependencies.serde]
version = "1.0.228"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.sqlx]
version = "0.8.6"
features = [
    "chrono",
    "postgres",
    "sqlx-postgres",
    "uuid",
    "runtime-tokio",
]

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

[dependencies.tracing]
version = "0.1.44"

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

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