Restructure: move src to core/ crate, move cmd/supervisor.rs to core/src/bin/supervisor.rs, create workspace

This commit is contained in:
Timur Gordon
2025-11-06 23:30:18 +01:00
parent 0a617ad359
commit 6d518599b8
39 changed files with 824 additions and 140 deletions

View File

@@ -1,7 +1,7 @@
[package]
name = "hero-supervisor-openrpc-client"
version = "0.1.0"
edition = "2021"
version.workspace = true
edition.workspace = true
description = "OpenRPC client for Hero Supervisor"
license = "MIT OR Apache-2.0"
@@ -25,7 +25,7 @@ hero-job = { git = "https://git.ourworld.tf/herocode/job.git" }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
jsonrpsee = { version = "0.24", features = ["http-client", "macros"] }
tokio = { version = "1.0", features = ["full"] }
hero-supervisor = { git = "https://git.ourworld.tf/herocode/supervisor.git" }
hero-supervisor = { path = "../core" }
hero-job-client = { git = "https://git.ourworld.tf/herocode/job.git" }
env_logger = "0.11"