initial commit
This commit is contained in:
73
Cargo.toml
Normal file
73
Cargo.toml
Normal file
@@ -0,0 +1,73 @@
|
||||
[package]
|
||||
name = "hero-supervisor"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
# Async runtime
|
||||
tokio = { version = "1.0", features = ["full"] }
|
||||
|
||||
# Async trait support
|
||||
async-trait = "0.1"
|
||||
|
||||
# Redis client
|
||||
redis = { version = "0.25", features = ["aio", "tokio-comp"] }
|
||||
|
||||
# Job module dependencies (now integrated)
|
||||
uuid = { version = "1.0", features = ["v4"] }
|
||||
|
||||
# Logging
|
||||
log = "0.4"
|
||||
thiserror = "1.0"
|
||||
chrono = "0.4"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
env_logger = "0.10"
|
||||
sal-service-manager = { path = "../sal/service_manager" }
|
||||
|
||||
# CLI argument parsing
|
||||
clap = { version = "4.0", features = ["derive"] }
|
||||
toml = "0.8"
|
||||
|
||||
# OpenRPC dependencies (now always included)
|
||||
jsonrpsee = { version = "0.24", features = ["server", "macros"] }
|
||||
anyhow = "1.0"
|
||||
|
||||
# CORS support for OpenRPC server
|
||||
tower-http = { version = "0.5", features = ["cors"] }
|
||||
tower = "0.4"
|
||||
|
||||
[dev-dependencies]
|
||||
tokio-test = "0.4"
|
||||
hero-supervisor-openrpc-client = { path = "clients/openrpc" }
|
||||
escargot = "0.5"
|
||||
|
||||
[features]
|
||||
default = ["cli"]
|
||||
cli = []
|
||||
|
||||
[[bin]]
|
||||
name = "supervisor"
|
||||
path = "cmd/supervisor.rs"
|
||||
|
||||
# Examples
|
||||
[[example]]
|
||||
name = "openrpc_comprehensive"
|
||||
path = "examples/basic_openrpc_client.rs"
|
||||
|
||||
[[example]]
|
||||
name = "test_queue_and_wait"
|
||||
path = "examples/test_queue_and_wait.rs"
|
||||
|
||||
[[example]]
|
||||
name = "test_openrpc_methods"
|
||||
path = "examples/test_openrpc_methods.rs"
|
||||
|
||||
[[example]]
|
||||
name = "mock_runner"
|
||||
path = "examples/mock_runner.rs"
|
||||
|
||||
[[example]]
|
||||
name = "supervisor"
|
||||
path = "examples/supervisor/run_supervisor.rs"
|
||||
|
Reference in New Issue
Block a user