Cargo Features

StackQueue has no features set by default.

[dependencies]
stack-queue = { version = "0.15.0", features = ["barrier-protected-runtime", "diesel-associations", "redis-args"] }
barrier-protected-runtime

Tokio Runtime configured with a barrier-synchronized shutdown as to ensure tasks never outlive worker thread owned local data

Enables barrier-protected-runtime of async-local

diesel-associations = diesel

Implement diesel::associations::BelongsTo for stack_queue::task::TaskRef

redis-args = redis

Implement redis::ToRedisArgs for stack_queue::task::TaskRef

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

diesel diesel-associations?
redis redis-args?