1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

add background-jobs example

This commit is contained in:
Rob Ede
2022-12-30 16:23:24 +00:00
parent aee47e0817
commit 061860743f
9 changed files with 751 additions and 40 deletions

View File

@ -0,0 +1,18 @@
[package]
name = "background-jobs"
version = "1.0.0"
edition = "2021"
[dependencies]
actix-web.workspace = true
anyhow = "1"
apalis = { version = "0.3", features = ["redis"] }
chrono = { version = "0.4.20", default-features = false, features = ["clock", "serde"] }
dotenv = "0.15"
env_logger.workspace = true
log = "0.4"
rand = "0.8"
serde = { version = "1", features = ["derive"] }
tokio = { version = "1.13.1", features = ["sync", "rt-multi-thread", "macros"] }
tokio-util = "0.7.4"