-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
55 lines (50 loc) · 1.9 KB
/
Cargo.toml
File metadata and controls
55 lines (50 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[package]
name = "apalis-postgres"
version = "1.0.0-rc.2"
authors = ["Njuguna Mureithi <mureithinjuguna@gmail.com>"]
edition = "2024"
repository = "https://github.com/apalis-dev/apalis-postgres"
license-file = "LICENSE"
description = "Background task processing for rust using apalis and postgres"
readme = "README.md"
homepage = "https://github.com/apalis-dev/apalis-postgres"
documentation = "https://docs.rs/apalis-postgres"
keywords = ["apalis", "postgres", "jobs", "queue", "worker"]
categories = ["asynchronous", "database", "network-programming"]
publish = true
[features]
default = ["migrate", "tokio-comp", "chrono"]
migrate = ["sqlx/migrate", "sqlx/macros"]
async-std-comp = ["async-std", "sqlx/runtime-async-std-rustls"]
async-std-comp-native-tls = ["async-std", "sqlx/runtime-async-std-native-tls"]
tokio-comp = ["tokio", "sqlx/runtime-tokio-rustls"]
tokio-comp-native-tls = ["tokio", "sqlx/runtime-tokio-native-tls"]
chrono = ["apalis-sql/chrono", "sqlx/chrono"]
time = ["apalis-sql/time", "sqlx/time"]
[dependencies]
apalis-core = { version = "1.0.0-rc.3", default-features = false, features = [
"sleep",
] }
apalis-sql = { version = "1.0.0-rc.2", default-features = false }
apalis-codec = { version = "0.1.0-rc.2", features = ["json"] }
serde = { version = "1", features = ["derive"], default-features = false }
pin-project = "1.1.10"
serde_json = "1"
futures = "0.3.30"
thiserror = "2"
tokio = { version = "1", features = [
"rt",
"net",
], optional = true, default-features = false }
async-std = { version = "1.13.0", optional = true, default-features = false }
ulid = { version = "1", features = ["serde"] }
[dependencies.sqlx]
version = "0.8.1"
default-features = false
features = ["postgres", "json"]
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
once_cell = "1.19.0"
apalis = { version = "1.0.0-rc.2" }
apalis-workflow = { version = "0.1.0-rc.2" }
futures-util = "0.3.30"