background-jobs/jobs-core/Cargo.toml
2022-11-19 17:42:05 -06:00

30 lines
831 B
TOML

[package]
name = "background-jobs-core"
description = "Core types for implementing an asynchronous jobs processor"
version = "0.14.1"
license = "AGPL-3.0"
authors = ["asonix <asonix@asonix.dog>"]
repository = "https://git.asonix.dog/asonix/background-jobs"
keywords = ["jobs", "processor"]
readme = "../README.md"
edition = "2021"
[features]
default = ["error-logging"]
with-actix = ["actix-rt"]
completion-logging = []
error-logging = []
[dependencies]
actix-rt = { version = "2.3.0", optional = true }
anyhow = "1.0"
async-trait = "0.1.24"
event-listener = "2"
metrics = "0.20.1"
time = { version = "0.3", features = ["serde-human-readable"] }
tracing = "0.1"
tracing-futures = "0.2.5"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
uuid = { version = "1", features = ["serde", "v4"] }