Crates continued to grow in number, but most are still quite small and feature specific. This refactor consolidates them.
34 lines
978 B
TOML
34 lines
978 B
TOML
[package]
|
|
name = "runtime-dashboard"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
swactor = { path = "../..", features = ["serde", "tracing"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["registry"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tiny_http = "0.12"
|
|
crossbeam-queue = "0.3.12"
|
|
ratatui = { version = "0.29", optional = true, default-features = false, features = ["crossterm"] }
|
|
crossterm = { version = "0.28", optional = true }
|
|
distribution = { path = "../distribution", optional = true }
|
|
clap = { version = "4", features = ["derive"], optional = true }
|
|
ctrlc = "3"
|
|
|
|
[features]
|
|
default = ["distribution"]
|
|
tui = ["dep:ratatui", "dep:crossterm"]
|
|
distribution = ["dep:distribution"]
|
|
node = ["distribution", "dep:clap", "swactor/transport"]
|
|
|
|
[[bin]]
|
|
name = "swactor-tui"
|
|
path = "src/bin/tui.rs"
|
|
required-features = ["tui"]
|
|
|
|
[[bin]]
|
|
name = "swactor-node"
|
|
path = "src/bin/swactor-node.rs"
|
|
required-features = ["node"]
|