swactor/crates/swactor-node/Cargo.toml

27 lines
757 B
TOML

[package]
name = "swactor-node"
version = "0.1.0"
edition = "2024"
[dependencies]
swactor = { path = "../..", features = ["serde", "tracing", "transport"] }
runtime-dashboard = { path = "../runtime-dashboard", features = ["distribution"] }
swactor-datastore = { path = "../datastore", features = ["node"] }
distribution = { path = "../distribution" }
clap = { version = "4", features = ["derive"] }
ctrlc = "3"
iroh = { version = "0.96", optional = true }
mdns-sd = { version = "0.11", optional = true }
toml = "0.8"
serde = { version = "1", features = ["derive"] }
libc = "0.2"
[features]
default = ["iroh", "mdns"]
tcp = ["distribution/tcp"]
iroh = ["distribution/iroh", "dep:iroh"]
mdns = ["dep:mdns-sd"]
[[bin]]
name = "swactor"
path = "src/main.rs"