[package]
edition = "2021"
rust-version = "1.75"
name = "azums"
version = "0.1.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance job queue & streaming engine for Rust — from embedded to cloud"
homepage = "https://github.com/BlockForge-Dev/azums"
documentation = "https://docs.rs/azums"
readme = "README.md"
keywords = [
"postgres",
"sqlite",
"job-queue",
"background-jobs",
"task-queue",
]
categories = [
"database",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/BlockForge-Dev/azums"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
cli = []
default = [
"postgres",
"sqlite",
"redis",
"cli",
]
postgres = ["sqlx/postgres"]
redis = ["dep:azums-redis"]
sqlite = ["sqlx/sqlite"]
[lib]
name = "azums"
path = "src/lib.rs"
[[bin]]
name = "azumsctl"
path = "src/bin/azumsctl.rs"
required-features = ["cli"]
[[example]]
name = "embedded_sqlite"
path = "examples/embedded_sqlite.rs"
[[example]]
name = "full_features"
path = "examples/full_features.rs"
[[example]]
name = "hello_world"
path = "examples/hello_world.rs"
[[test]]
name = "api_audit"
path = "tests/api_audit.rs"
[[test]]
name = "attempts"
path = "tests/attempts.rs"
[[test]]
name = "concurrency"
path = "tests/concurrency.rs"
[[test]]
name = "dlq"
path = "tests/dlq.rs"
[[test]]
name = "error_classification"
path = "tests/error_classification.rs"
[[test]]
name = "fifo_ordering"
path = "tests/fifo_ordering.rs"
[[test]]
name = "in_memory"
path = "tests/in_memory.rs"
[[test]]
name = "leasing"
path = "tests/leasing.rs"
[[test]]
name = "maintenance"
path = "tests/maintenance.rs"
[[test]]
name = "matrix_guard"
path = "tests/matrix_guard.rs"
[[test]]
name = "mock"
path = "tests/mock.rs"
[[test]]
name = "panic_isolation"
path = "tests/panic_isolation.rs"
[[test]]
name = "phantom_recovery"
path = "tests/phantom_recovery.rs"
[[test]]
name = "policy_decisions"
path = "tests/policy_decisions.rs"
[[test]]
name = "policy_timeline"
path = "tests/policy_timeline.rs"
[[test]]
name = "pool_isolation"
path = "tests/pool_isolation.rs"
[[test]]
name = "quickstart"
path = "tests/quickstart.rs"
[[test]]
name = "redis_backend"
path = "tests/redis_backend.rs"
[[test]]
name = "reliability_worker_crash"
path = "tests/reliability_worker_crash.rs"
[[test]]
name = "replay"
path = "tests/replay.rs"
[[test]]
name = "retries"
path = "tests/retries.rs"
[[test]]
name = "scheduling"
path = "tests/scheduling.rs"
[[test]]
name = "sqlite"
path = "tests/sqlite.rs"
[[test]]
name = "storm_control"
path = "tests/storm_control.rs"
[[test]]
name = "streams"
path = "tests/streams.rs"
[[test]]
name = "timeline"
path = "tests/timeline.rs"
[[test]]
name = "wakeup"
path = "tests/wakeup.rs"
[[bench]]
name = "competitors"
path = "benches/competitors.rs"
harness = false
[[bench]]
name = "concurrent_leasing"
path = "benches/concurrent_leasing.rs"
harness = false
[[bench]]
name = "dequeue"
path = "benches/dequeue.rs"
harness = false
[[bench]]
name = "enqueue"
path = "benches/enqueue.rs"
harness = false
[[bench]]
name = "redis_throughput"
path = "benches/redis_throughput.rs"
harness = false
[[bench]]
name = "stream_pubsub"
path = "benches/stream_pubsub.rs"
harness = false
[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
[[bench]]
name = "wake_up_latency"
path = "benches/wake_up_latency.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.azums-core]
version = "0.1.3"
features = ["sqlx"]
[dependencies.azums-redis]
version = "0.1.3"
optional = true
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.dotenvy]
version = "0.15"
[dependencies.rand]
version = "0.8"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sqlx]
version = "0.7"
features = [
"runtime-tokio-rustls",
"postgres",
"sqlite",
"uuid",
"chrono",
"json",
]
default-features = false
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-stream]
version = "0.1"
features = [
"sync",
"time",
]
[dependencies.tokio-util]
version = "0.7"
[dependencies.uuid]
version = "1"
features = [
"v4",
"serde",
]
[dev-dependencies.criterion]
version = "0.5"
features = ["async_tokio"]
[dev-dependencies.dotenvy]
version = "0.15"
[dev-dependencies.serial_test]
version = "3"
[dev-dependencies.testcontainers]
version = "0.15"