swactor/crates/iroh-driver/Cargo.toml
Zachery Aaron Shores-Chmielewski f4dee176c0 refactor: extract iroh-driver crate, drop node example
Move iroh_driver and the relay binary out of distribution into a dedicated
crates/iroh-driver (lib re-exports IrohDriver; relay bin renamed). Remove the node crate
and the single-gpu-inference example; drop the docker/datastream demo. Slim
pipeline-parallel vastai.


Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
2026-06-24 00:10:41 +04:00

40 lines
1.1 KiB
TOML

[package]
name = "iroh-driver"
version = "0.1.0"
edition = "2024"
[lib]
name = "iroh_driver"
path = "src/lib.rs"
[features]
default = []
relay = [
"iroh-relay/server",
"tokio/macros",
"tokio/signal",
"tokio/time",
]
[dependencies]
swactor = { path = "../..", features = ["serde", "transport"] }
swactor-transport = { path = "../transport" }
distribution = { path = "../distribution" }
datastream = { path = "../datastream" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
iroh = "0.98"
# `test-utils` exposes `CaRootsConfig::insecure_skip_verify()` so clients can
# trust an operator-controlled relay with a self-signed QAD cert. The `relay`
# feature adds the server side for the standalone relay binary.
iroh-relay = { version = "0.98", features = ["test-utils"] }
tokio = { version = "1", features = ["rt-multi-thread", "time"] }
[dev-dependencies]
iroh-relay = { version = "0.98", features = ["server", "test-utils"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "io-util", "time"] }
[[bin]]
name = "iroh-driver-relay"
path = "src/bin/iroh-driver-relay.rs"
required-features = ["relay"]