[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.chrono-tz]
version = "0.8"
[dependencies.cron]
version = "0.12"
[dependencies.rand]
version = "0.8"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.sqlx]
features = ["runtime-tokio-rustls", "chrono", "uuid", "json"]
version = "0.8"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
features = ["full"]
version = "1.0"
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
features = ["v4", "serde"]
version = "1.0"
[dev-dependencies.tokio-test]
version = "0.4"
[dev-dependencies.tracing-subscriber]
features = ["env-filter"]
version = "0.3"
[[example]]
name = "cron_example"
path = "examples/cron_example.rs"
required-features = ["postgres"]
[[example]]
name = "mysql_example"
path = "examples/mysql_example.rs"
required-features = ["mysql"]
[[example]]
name = "postgres_example"
path = "examples/postgres_example.rs"
required-features = ["postgres"]
[[example]]
name = "priority_example"
path = "examples/priority_example.rs"
required-features = ["postgres"]
[features]
default = []
mysql = ["sqlx/mysql"]
postgres = ["sqlx/postgres"]
[lib]
name = "hammerwork"
path = "src/lib.rs"
[package]
authors = ["CodingAnarchy <noreply@codinganarchy.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["database", "asynchronous", "concurrency"]
description = "A high-performance, database-driven job queue for Rust with PostgreSQL and MySQL support, featuring job prioritization, cron scheduling, timeouts, dead job management, and comprehensive statistics collection"
documentation = "https://docs.rs/hammerwork"
edition = "2021"
homepage = "https://github.com/CodingAnarchy/hammerwork"
keywords = ["database", "job-queue", "async", "postgres", "mysql"]
license = "MIT"
name = "hammerwork"
readme = "README.md"
repository = "https://github.com/CodingAnarchy/hammerwork"
version = "0.5.0"
[[test]]
name = "cron_test"
path = "tests/cron_test.rs"
[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"
[[test]]
name = "priority_tests"
path = "tests/priority_tests.rs"