swactor/crates/mvp-system/Cargo.toml

61 lines
1.4 KiB
TOML

[package]
name = "mvp-system"
version = "0.1.0"
edition = "2024"
publish = false
autobins = false
[features]
default = []
local-e2e = ["dep:dashboard"]
[dependencies]
datastream = { path = "../datastream" }
dashboard = { path = "../dashboard", optional = true }
serde_json = "1"
serde = { version = "1", features = ["derive"] }
swactor = { path = "../..", features = ["serde", "transport"] }
swactor-transport = { path = "../transport" }
distribution = { path = "../distribution" }
iroh-driver = { path = "../iroh-driver" }
iroh = "0.98"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "process", "io-util", "sync", "time", "net"] }
swactor-vastai = { path = "../../tools/vastai" }
parking_lot = "0.12"
blake3 = "1"
toml = "0.8"
[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"
[dev-dependencies]
iroh-relay = { version = "0.98", features = ["server", "test-utils"] }
[[bin]]
name = "mvp-worker-node"
path = "src/bin/worker_node.rs"
[[bin]]
name = "mvp-orchestrator"
path = "src/bin/orchestrator.rs"
[[bin]]
name = "mvp-one-node-chat"
path = "src/bin/mvp_one_node_chat.rs"
[[test]]
name = "local_unmocked_mvp_e2e"
path = "tests/local_unmocked_mvp_e2e.rs"
harness = false
required-features = ["local-e2e"]
[[test]]
name = "gpu_worker_node_e2e"
path = "tests/gpu_worker_node_e2e.rs"
required-features = ["local-e2e"]
[[test]]
name = "local-e2e-cluster"
path = "tests/local_e2e_cluster.rs"
harness = false
required-features = ["local-e2e"]