refactor wip

This commit is contained in:
Timur Gordon
2025-08-05 12:19:38 +02:00
parent 8ed40ce99c
commit 7a652c9c3c
51 changed files with 6183 additions and 840 deletions

View File

@@ -11,6 +11,26 @@ path = "src/lib.rs"
name = "worker"
path = "cmd/worker.rs"
[[bin]]
name = "osis"
path = "cmd/osis.rs"
[[bin]]
name = "system"
path = "cmd/system.rs"
[[example]]
name = "trait_based_worker_demo"
path = "examples/trait_based_worker_demo.rs"
[[example]]
name = "osis_worker_demo"
path = "examples/osis_worker_demo.rs"
[[example]]
name = "system_worker_demo"
path = "examples/system_worker_demo.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
@@ -24,6 +44,9 @@ env_logger = "0.10"
clap = { version = "4.4", features = ["derive"] }
uuid = { version = "1.6", features = ["v4", "serde"] } # Though task_id is string, uuid might be useful
chrono = { version = "0.4", features = ["serde"] }
toml = "0.8"
thiserror = "1.0"
async-trait = "0.1"
hero_supervisor = { path = "../supervisor" }
hero_job = { path = "../job" }
heromodels = { path = "../../../db/heromodels", features = ["rhai"] }