92 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			92 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			TOML
		
	
	
	
	
	
[package]
 | 
						|
name = "runner_rust"
 | 
						|
version = "0.1.0"
 | 
						|
edition = "2024"
 | 
						|
 | 
						|
[lib]
 | 
						|
name = "runner_rust" # Can be different from package name, or same
 | 
						|
path = "src/lib.rs"
 | 
						|
 | 
						|
[[bin]]
 | 
						|
name = "runner_sal"
 | 
						|
path = "src/bin/runner_sal/main.rs"
 | 
						|
 | 
						|
[[bin]]
 | 
						|
name = "runner_osiris"
 | 
						|
path = "src/bin/runner_osiris.rs"
 | 
						|
 | 
						|
[[example]]
 | 
						|
name = "sal"
 | 
						|
path = "examples/sal/main.rs"
 | 
						|
 | 
						|
[[example]]
 | 
						|
name = "osiris"
 | 
						|
path = "examples/osiris/main.rs"
 | 
						|
 | 
						|
[[example]]
 | 
						|
name = "sign_job"
 | 
						|
path = "examples/utils/sign_job.rs"
 | 
						|
 | 
						|
 | 
						|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 | 
						|
 | 
						|
[dependencies]
 | 
						|
anyhow = "1.0"
 | 
						|
redis = { version = "0.25.0", features = ["tokio-comp"] }
 | 
						|
rhai = { version = "1.21.0", features = ["std", "sync", "decimal", "internals", "serde"] }
 | 
						|
serde = { version = "1.0", features = ["derive"] }
 | 
						|
serde_json = "1.0"
 | 
						|
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"] }
 | 
						|
log = "0.4"
 | 
						|
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"
 | 
						|
# Crypto dependencies (always included for signature verification)
 | 
						|
secp256k1 = { version = "0.28", features = ["recovery", "rand"] }
 | 
						|
sha2 = "0.10"
 | 
						|
hex = "0.4"
 | 
						|
rand = "0.8"
 | 
						|
# Core hero dependencies
 | 
						|
hero_logger = { git = "https://git.ourworld.tf/herocode/baobab.git", branch = "logger" }
 | 
						|
 | 
						|
# Osiris dependencies (used by runner_osiris binary)
 | 
						|
osiris = { path = "../osiris" }
 | 
						|
# osiris = { git = "https://git.ourworld.tf/herocode/osiris.git" }
 | 
						|
heromodels = { git = "https://git.ourworld.tf/herocode/db.git" }
 | 
						|
heromodels_core = { git = "https://git.ourworld.tf/herocode/db.git" }
 | 
						|
heromodels-derive = { git = "https://git.ourworld.tf/herocode/db.git" }
 | 
						|
rhailib_dsl = { git = "https://git.ourworld.tf/herocode/rhailib.git" }
 | 
						|
 | 
						|
# SAL modules (used by runner_sal binary)
 | 
						|
sal-os = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
 | 
						|
sal-redisclient = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
 | 
						|
sal-postgresclient = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
 | 
						|
sal-process = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
 | 
						|
sal-virt = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
 | 
						|
sal-git = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
 | 
						|
sal-zinit-client = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
 | 
						|
sal-mycelium = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
 | 
						|
sal-text = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
 | 
						|
sal-net = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
 | 
						|
sal-kubernetes = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
 | 
						|
# sal-service-manager = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }  # Removed - in _archive
 | 
						|
sal-vault = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
 | 
						|
sal-hetzner = { git = "https://git.ourworld.tf/herocode/herolib_rust.git" }
 | 
						|
 | 
						|
# Tracing (used for logging)
 | 
						|
tracing = "0.1.41"
 | 
						|
 | 
						|
[features]
 | 
						|
default = []
 | 
						|
# Legacy features (kept for compatibility, but not used)
 | 
						|
calendar = []
 | 
						|
finance = []
 | 
						|
flow = []
 | 
						|
legal = []
 | 
						|
projects = []
 | 
						|
biz = []
 |