This commit is contained in:
Maxime Van Hees
2025-08-06 14:34:56 +02:00
parent 9f9149a950
commit 9c4fa1a78b
18 changed files with 2641 additions and 33 deletions

View File

@@ -5,14 +5,13 @@ edition = "2021"
[dependencies]
clap = { version = "4.4", features = ["derive"] }
env_logger = "0.10"
redis = { version = "0.25.0", features = ["tokio-comp"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
uuid = { version = "1.6", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
log = "0.4"
tracing = "0.1"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] } # For async main in examples, and general async
colored = "2.0"
hero_job = { path = "../job" }
@@ -22,5 +21,5 @@ crossterm = "0.28"
anyhow = "1.0"
[dev-dependencies] # For examples later
env_logger = "0.10"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
rhai = "1.18.0" # For examples that might need to show engine setup

View File

@@ -1,4 +1,4 @@
use log::{debug, error, info, warn};
use tracing::{debug, error, info, warn};
use redis::AsyncCommands;
use serde::{Deserialize, Serialize};
use std::collections::HashMap;

View File

@@ -3,7 +3,7 @@
//! This module provides actor process lifecycle management using Zinit as the process manager.
//! All functionality is implemented as methods on the Supervisor struct for a clean API.
use log::{debug, error, info, warn};
use tracing::{debug, error, info, warn};
use serde_json::json;
use std::collections::HashMap;
use std::path::PathBuf;