67 lines
1.3 KiB
TOML
67 lines
1.3 KiB
TOML
[package]
|
|
name = "hero-supervisor"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[lib]
|
|
name = "hero_supervisor"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "supervisor"
|
|
path = "src/bin/supervisor.rs"
|
|
|
|
[dependencies]
|
|
# Job types
|
|
hero-job = { path = "../../lib/models/job" }
|
|
hero-job-client = { path = "../../lib/clients/job" }
|
|
|
|
# Async runtime
|
|
tokio.workspace = true
|
|
async-trait.workspace = true
|
|
|
|
# Redis client
|
|
redis.workspace = true
|
|
|
|
# Core dependencies
|
|
uuid.workspace = true
|
|
log.workspace = true
|
|
thiserror.workspace = true
|
|
chrono.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
env_logger.workspace = true
|
|
|
|
# CLI argument parsing
|
|
clap.workspace = true
|
|
toml.workspace = true
|
|
|
|
# OpenRPC dependencies
|
|
jsonrpsee.workspace = true
|
|
anyhow.workspace = true
|
|
futures.workspace = true
|
|
|
|
# CORS support for OpenRPC server
|
|
tower-http.workspace = true
|
|
tower.workspace = true
|
|
hyper.workspace = true
|
|
hyper-util.workspace = true
|
|
http-body-util.workspace = true
|
|
|
|
# Osiris client for persistent storage
|
|
# osiris-client = { git = "https://git.ourworld.tf/herocode/osiris.git" } # Temporarily disabled - needs update
|
|
|
|
[dev-dependencies]
|
|
tokio-test = "0.4"
|
|
hero-supervisor-openrpc-client = { path = "../../lib/clients/supervisor" }
|
|
escargot = "0.5"
|
|
|
|
[features]
|
|
default = ["cli"]
|
|
cli = []
|
|
|
|
# Examples
|
|
[[example]]
|
|
name = "osiris_openrpc"
|
|
path = "examples/osiris_openrpc/main.rs"
|