-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (50 loc) · 1.66 KB
/
Cargo.toml
File metadata and controls
57 lines (50 loc) · 1.66 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
56
57
[package]
name = "backfill"
version = "1.1.1"
edition = "2024"
description = "A boringly-named priority work queue system for doing async tasks."
categories = ["concurrency", "data-structures"]
authors = ["C J Silverio <ceejceej@gmail.com>"]
readme = "README.md"
license = "Parity-7.0.0"
repository = "https://github.com/ceejbot/backfill"
homepage = "https://github.com/ceejbot/backfill"
[features]
default = []
axum = ["dep:axum"]
[dependencies]
chrono = { version = "0.4", features = ["serde"] }
graphile_worker = "0.11.1"
graphile_worker_crontab_parser = "0.5.12"
log = "0.4.28"
metrics = "0.24"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sqlx = { version = "0.8.6", features = ["runtime-tokio-rustls", "postgres", "chrono", "uuid", "json", "macros"] }
thiserror = "2.0"
tokio = { version = "1.0", features = ["full"] }
tokio-util = "0.7"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
uuid = { version = "1.0", features = ["v4", "v7", "serde"] }
# Optional dependencies for admin API
axum = { version = "0.8", optional = true }
graphile_worker_lifecycle_hooks = "0.2.2"
[dev-dependencies]
env_logger = "0.11"
axum = "0.8"
fastrand = "2.0"
metrics-exporter-prometheus = "0.18.1"
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace"] }
# Examples that require specific features
[[example]]
name = "admin_server"
required-features = ["axum"]
[lints.rust]
unsafe_code = { level = "deny", priority = 1 }
future_incompatible = { level = "deny", priority = 2 }
trivial_casts = { level = "warn", priority = 3 }
rust_2018_idioms = { level = "warn", priority = 4 }
[lints.clippy]
unwrap_used = "deny"