[package]
edition = "2021"
rust-version = "1.85"
name = "gradatum-worker"
version = "0.4.0"
authors = ["Gradatum Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async queue consumer — curator LLM + maintenance jobs"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/gradatum/gradatum"
[lib]
name = "gradatum_worker"
path = "src/lib.rs"
[[bin]]
name = "gradatum-worker"
path = "src/main.rs"
[[test]]
name = "curate_embed_chaining"
path = "tests/curate_embed_chaining.rs"
[[test]]
name = "curate_optimistic_lock"
path = "tests/curate_optimistic_lock.rs"
[[test]]
name = "curate_prealloc_note_id"
path = "tests/curate_prealloc_note_id.rs"
[[test]]
name = "curate_title_persistence"
path = "tests/curate_title_persistence.rs"
[[test]]
name = "curator_config"
path = "tests/curator_config.rs"
[[test]]
name = "dispatch_runtime"
path = "tests/dispatch_runtime.rs"
[[test]]
name = "embed_pipeline"
path = "tests/embed_pipeline.rs"
[[test]]
name = "helpers_compile"
path = "tests/helpers_compile.rs"
[[test]]
name = "leader_race"
path = "tests/leader_race.rs"
[[test]]
name = "leadership_cleanup"
path = "tests/leadership_cleanup.rs"
[[test]]
name = "monitor_integration"
path = "tests/monitor_integration.rs"
[[test]]
name = "wikilinks_parallel"
path = "tests/wikilinks_parallel.rs"
[[test]]
name = "wikilinks_post_curate"
path = "tests/wikilinks_post_curate.rs"
[[test]]
name = "worker_multikind_concurrency"
path = "tests/worker_multikind_concurrency.rs"
[[test]]
name = "worker_repoll"
path = "tests/worker_repoll.rs"
[dependencies.anyhow]
version = "=1.0.102"
[dependencies.apalis]
version = "=1.0.0-rc.9"
features = [
"tracing",
"retry",
"timeout",
"limit",
"catch-panic",
]
default-features = false
[dependencies.apalis-cron]
version = "=1.0.0-rc.8"
[dependencies.async-trait]
version = "=0.1.89"
[dependencies.axum]
version = "=0.8.9"
features = []
[dependencies.bincode]
version = "=2.0.1"
features = ["serde"]
[dependencies.chrono]
version = "=0.4.44"
features = ["serde"]
[dependencies.clap]
version = "=4.6.1"
features = [
"derive",
"derive",
]
[dependencies.cron]
version = "=0.16.0"
[dependencies.figment]
version = "=0.10.19"
features = [
"toml",
"env",
]
[dependencies.futures]
version = "=0.3.32"
[dependencies.gradatum-chat]
version = "0.4.0"
[dependencies.gradatum-core]
version = "0.4.0"
[dependencies.gradatum-curator]
version = "0.4.0"
[dependencies.gradatum-db-sqlite]
version = "0.4.0"
[dependencies.gradatum-embed]
version = "0.4.0"
[dependencies.gradatum-index]
version = "0.4.0"
[dependencies.gradatum-queue]
version = "0.4.0"
[dependencies.gradatum-vault]
version = "0.4.0"
[dependencies.prometheus]
version = "=0.13.4"
default-features = false
[dependencies.serde]
version = "=1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "=1.0.149"
[dependencies.smallvec]
version = "=1.13.2"
features = ["serde"]
[dependencies.sqlx]
version = "=0.8.6"
features = [
"sqlite",
"runtime-tokio",
"macros",
"sqlite",
"runtime-tokio",
]
[dependencies.thiserror]
version = "=2.0.18"
[dependencies.tokio]
version = "=1.52.1"
features = [
"full",
"full",
"signal",
]
[dependencies.tower]
version = "=0.5.2"
[dependencies.tracing]
version = "=0.1.44"
[dependencies.tracing-subscriber]
version = "=0.3.23"
features = [
"env-filter",
"json",
"env-filter",
"json",
]
[dependencies.ulid]
version = "=1.2.1"
features = ["serde"]
[dev-dependencies.apalis]
version = "=1.0.0-rc.9"
features = [
"tracing",
"retry",
"timeout",
"limit",
"catch-panic",
]
default-features = false
[dev-dependencies.chrono]
version = "=0.4.44"
features = ["serde"]
[dev-dependencies.futures]
version = "=0.3.32"
[dev-dependencies.gradatum-core]
version = "0.4.0"
[dev-dependencies.smallvec]
version = "=1.13.2"
features = ["serde"]
[dev-dependencies.sqlx]
version = "=0.8.6"
features = [
"sqlite",
"runtime-tokio",
"macros",
"sqlite",
"runtime-tokio",
]
[dev-dependencies.tempfile]
version = "=3.27.0"
[dev-dependencies.tokio]
version = "=1.52.1"
features = [
"full",
"full",
]
[dev-dependencies.toml]
version = "=1.1.2"
[dev-dependencies.ulid]
version = "=1.2.1"
features = ["serde"]