-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
96 lines (91 loc) · 3.07 KB
/
Cargo.toml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[package]
name = "graphile_worker"
version = "0.8.0"
edition = "2021"
license-file = "LICENSE.md"
description = "High performance Rust/PostgreSQL job queue (also suitable for getting jobs generated by PostgreSQL triggers/functions out into a different work queue)"
homepage = "https://docs.rs/graphile_worker"
documentation = "https://docs.rs/graphile_worker"
repository = "https://github.com/leo91000/graphile_worker"
readme = "README.md"
keywords = []
categories = []
[workspace]
members = ["crates/*"]
[workspace.dependencies]
tokio = { version = "1.41.1" }
tokio-util = { version = "0.7.12" }
serde = { version = "1.0.214", features = ["derive"] }
json5 = "0.4.1"
nom = "7.1.3"
serde_json = "1.0.132"
serde_qs = "0.13.0"
thiserror = "1.0.69"
chrono = { version = "0.4.38", features = ["serde"] }
sqlx = { version = "0.8.2", features = [
"chrono",
"postgres",
"json",
"macros",
"runtime-tokio",
], default-features = false }
getset = "0.1.3"
tracing = "0.1.40"
once_cell = "1.20.2"
anyhow = "1.0.93"
cfg-if = "1.0.0"
futures = "0.3.31"
syn = "2.0.87"
quote = "1.0.37"
indoc = "2.0.5"
derive_builder = "0.20.2"
[features]
default = ["tls-rustls"]
tls-native-tls = [
"sqlx/tls-native-tls",
"graphile_worker_crontab_runner/tls-native-tls",
"graphile_worker_migrations/tls-native-tls",
]
tls-rustls = [
"sqlx/tls-rustls",
"graphile_worker_crontab_runner/tls-rustls",
"graphile_worker_migrations/tls-rustls",
]
# For now we don't support async std
# runtime-async-std-rustls = ["sqlx/runtime-async-std-rustls"]
# runtime-async-std-native-tls = ["sqlx/runtime-async-std-native-tls"]
[dependencies]
graphile_worker_crontab_runner = { path = "./crates/crontab_runner", version = "0.5.6", default-features = false }
graphile_worker_crontab_types = { path = "./crates/crontab_types", version = "0.5.4" }
graphile_worker_crontab_parser = { path = "./crates/crontab_parser", version = "0.5.5" }
graphile_worker_job = { path = "./crates/job", version = "0.1.2" }
graphile_worker_ctx = { path = "./crates/ctx", version = "0.2.1" }
graphile_worker_migrations = { path = "./crates/migrations", version = "0.4.4", default-features = false }
graphile_worker_task_handler = { path = "./crates/task_handler", version = "0.5.0" }
graphile_worker_shutdown_signal = { path = "./crates/shutdown_signal", version = "0.3.2" }
graphile_worker_extensions = { path = "./crates/extensions", version = "0.1.3" }
chrono = { version = "0.4.38", features = ["serde"] }
futures = "0.3.31"
getset = "0.1.3"
num_cpus = "1.16.0"
serde = { version = "1.0.214", features = ["derive"] }
serde_json = "1.0.132"
sqlx = { version = "0.8.2", features = [
"postgres",
"json",
"chrono",
"macros",
"runtime-tokio",
], default-features = false }
thiserror = "1.0.69"
tracing = "0.1.40"
tokio = { version = "1.41.1", features = ["macros", "signal"] }
rand = "0.8.5"
hex = "0.4.3"
cfg-if = "1.0.0"
indoc = "2.0.5"
derive_builder = "0.20.2"
[dev-dependencies]
tokio = { version = "1.41.1", features = ["macros", "rt-multi-thread"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
uuid = { version = "1.11.0", features = ["v7"] }