broccoli_queue 0.4.5

Broccoli is a simple, fast, and reliable job queue for Rust.
Documentation
[[bench]]
harness = false
name = "amqp_benchmark"
path = "benches/amqp_benchmark.rs"

[[bench]]
harness = false
name = "redis_benchmark"
path = "benches/redis_benchmark.rs"

[[bench]]
harness = false
name = "surrealdb_benchmark"
path = "benches/surrealdb_benchmark.rs"

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

[dependencies.bb8-redis]
optional = true
version = "0.18.0"

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

[dependencies.dashmap]
version = "6.1.0"

[dependencies.deadpool]
optional = true
version = "0.12.1"

[dependencies.deadpool-lapin]
optional = true
version = "0.12.1"

[dependencies.derive_more]
features = ["display"]
optional = true
version = "2.0.1"

[dependencies.futures]
version = "0.3.31"

[dependencies.lapin]
optional = true
version = "2.5.0"

[dependencies.log]
version = "0.4.22"

[dependencies.redis]
features = ["tokio-rustls-comp", "aio"]
optional = true
version = "0.27.5"

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

[dependencies.serde_json]
version = "1.0.133"

[dependencies.sha256]
version = "1.5.0"

[dependencies.surrealdb]
features = ["kv-mem"]
optional = true
version = "2.3.6"

[dependencies.thiserror]
version = "2.0.7"

[dependencies.time]
version = "0.3.37"

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

[dependencies.url]
optional = true
version = "2.5.4"

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

[dev-dependencies.criterion]
features = ["async_tokio"]
version = "0.5"

[dev-dependencies.env_logger]
version = "0.11.5"

[dev-dependencies.lazy_static]
version = "1.5.0"

[dev-dependencies.tokio-util]
version = "0.7.15"

[[example]]
name = "consumer"
path = "examples/consumer.rs"

[[example]]
name = "publisher"
path = "examples/publisher.rs"

[features]
default = []
management = ["dep:derive_more"]
rabbitmq = ["dep:lapin", "dep:deadpool", "dep:deadpool-lapin"]
redis = ["dep:bb8-redis", "dep:redis"]
surrealdb = ["dep:surrealdb", "dep:url"]
test-fairness = []

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

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Broccoli is a simple, fast, and reliable job queue for Rust."
edition = "2021"
license = "MIT"
name = "broccoli_queue"
readme = "README.md"
repository = "https://github.com/densumesh/broccoli"
version = "0.4.5"

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

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

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

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

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