swactor/crates/node/Cargo.toml

39 lines
947 B
TOML
Raw Normal View History

[package]
name = "node"
version = "0.1.0"
edition = "2024"
[dependencies]
swactor = { path = "../..", features = ["serde", "tracing", "transport"] }
dashboard = { path = "../dashboard" }
swactor-datastore = { path = "../datastore" }
swactor-transport = { path = "../transport" }
distribution = { path = "../distribution" }
2026-06-09 09:29:07 +00:00
datastream = { path = "../datastream" }
clap = { version = "4", features = ["derive"] }
ctrlc = "3"
2026-06-09 09:29:07 +00:00
tokio = { version = "1", features = ["rt-multi-thread"] }
2026-05-22 07:06:58 +00:00
iroh = { version = "0.98", optional = true }
toml = "0.8"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
2026-06-09 09:29:07 +00:00
tracing = "0.1"
libc = "0.2"
[lib]
name = "swactor_node"
path = "src/lib.rs"
[features]
default = ["iroh", "relay"]
iroh = ["distribution/iroh", "dep:iroh"]
relay = ["iroh", "distribution/relay"]
[[bin]]
name = "swactor"
path = "src/main.rs"
2026-06-05 07:25:43 +00:00
[[bin]]
name = "swactor-datastream-collector"
path = "src/bin/swactor-datastream-collector.rs"