mycelium e2e examples

This commit is contained in:
Timur Gordon
2025-09-02 09:14:05 +02:00
parent 92feb504f8
commit 803a2dc4eb
4 changed files with 3366 additions and 0 deletions

31
examples/Cargo.toml Normal file
View File

@@ -0,0 +1,31 @@
[package]
name = "herocode-home-examples"
version = "0.1.0"
edition = "2021"
[dependencies]
# Hero coordinator client for supervisor communication
herocoordinator = { path = "../../herocoordinator" }
# HTTP client
reqwest = { version = "0.12", features = ["json"] }
# Base64 encoding
base64 = "0.22"
# Process spawning and management
escargot = "0.5"
# JSON handling
serde_json = "1.0"
# Logging
log = "0.4"
env_logger = "0.10"
# Error handling
anyhow = "1.0"
# Async runtime
tokio = { version = "1.0", features = ["full"] }
[[example]]
name = "supervisor_client_demo"
path = "supervisor_client_demo.rs"
[[example]]
name = "mycelium_two_node_test"
path = "mycelium_two_node_test.rs"