smithyq 0.1.2

A high-performance async task worker library for Rust - forge your tasks with type safety
[dependencies.async-trait]
version = "0.1.88"

[dependencies.chrono]
features = ["serde"]
optional = true
version = "0.4.41"

[dependencies.ctor]
version = "0.4.2"

[dependencies.futures]
version = "0.3.31"

[dependencies.num_cpus]
version = "1.16.0"

[dependencies.paste]
version = "1.0.15"

[dependencies.prometheus]
optional = true
version = "0.14.0"

[dependencies.redis]
optional = true
version = "0.31.0"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_json]
version = "1.0.140"

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

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
features = ["rt", "macros", "rt-multi-thread", "sync", "signal", "time"]
version = "1.45.0"

[dependencies.tracing]
version = "0.1.41"

[dependencies.tracing-subscriber]
version = "0.3.19"

[dependencies.uuid]
features = ["v4"]
version = "1.17.0"

[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.6.0"

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

[dev-dependencies.tracing-subscriber]
version = "0.3.19"

[features]
chrono = ["dep:chrono"]
jitter = []
metrics = ["dep:prometheus"]
postgres-queue = ["dep:sqlx", "dep:chrono"]
prometheus = ["dep:prometheus"]
redis = ["dep:redis"]
redis-queue = ["dep:redis", "dep:chrono"]

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

[package]
authors = ["Andrea Bellomia <andreabellomia 2001@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["asynchronous", "concurrency", "web-programming"]
description = "A high-performance async task worker library for Rust - forge your tasks with type safety"
documentation = "https://docs.rs/smithyq"
edition = "2024"
exclude = ["examples/*", "benches/*", ".github/*"]
homepage = "https://github.com/AndreaBellomia/smithyq"
keywords = ["worker", "task", "queue", "tokio", "job"]
license = "MIT"
name = "smithyq"
readme = "README.md"
repository = "https://github.com/AndreaBellomia/smithyq"
version = "0.1.2"

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