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:
18
background-jobs/Cargo.toml
Normal file
18
background-jobs/Cargo.toml
Normal 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"
|
Reference in New Issue
Block a user