2026-06-23 20:10:41 +00:00
|
|
|
[package]
|
|
|
|
|
name = "iroh-driver"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
edition = "2024"
|
feat: proper `README`, `LICENSE`, and our first quick example
Add project licensing and a full README, plus a minimal WebAssembly ping-pong example that exercises the actor runtime.
- `LICENSE`: add the full GNU AGPL-3.0 text and set `license = "AGPL-3.0-only"` on every package (`swactor`, each crate, `apps/myelin`, `tools/vastai`, `xtask`)
- `README.md`: rewrite from a stub into a full project overview, covering features (actor_id routing, WASM, iroh QUIC/SWIM, OTP-style std, process manager, zero-copy objects, datastream metrics, dashboard), architecture, examples, developing, status, and license
- `examples/ping-pong`: new standalone workspace (`pingpong` cdylib) where two actors volley on a single-threaded `wasm` runtime driven by a Node host via `tick()`, demonstrating spawning, message passing, and death monitoring (`watching`)
- `examples/ping-pong`: add a host/run harness -- `run.sh` (wasm-pack build + `run.mjs`), `serve.sh` (dashboard + static demo), `index.html`, and a pinned `Cargo.lock`
- `.gitignore`: stop ignoring `.loop/`, `.deployment-notes/`, and `.omp/`
Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
2026-08-05 20:29:27 +00:00
|
|
|
license = "AGPL-3.0-only"
|
2026-06-23 20:10:41 +00:00
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
|
name = "iroh_driver"
|
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
swactor = { path = "../..", features = ["serde", "transport"] }
|
|
|
|
|
swactor-transport = { path = "../transport" }
|
|
|
|
|
distribution = { path = "../distribution" }
|
|
|
|
|
datastream = { path = "../datastream" }
|
2026-07-21 06:25:52 +00:00
|
|
|
crossbeam-channel = "0.5"
|
2026-06-23 20:10:41 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
|
|
|
|
serde_json = "1"
|
|
|
|
|
iroh = "0.98"
|
|
|
|
|
# `test-utils` exposes `CaRootsConfig::insecure_skip_verify()` so clients can
|
2026-06-25 12:30:18 +00:00
|
|
|
# trust operator-controlled custom relays with self-signed QAD certs.
|
2026-06-23 20:10:41 +00:00
|
|
|
iroh-relay = { version = "0.98", features = ["test-utils"] }
|
2026-08-03 10:18:24 +00:00
|
|
|
tokio.workspace = true
|
2026-07-12 06:14:34 +00:00
|
|
|
parking_lot = "0.12"
|
2026-06-23 20:10:41 +00:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
iroh-relay = { version = "0.98", features = ["server", "test-utils"] }
|