# Conflicts: # crates/maestro-daemon/Cargo.toml # crates/maestro-daemon/src/local_api.rs # crates/maestro/Cargo.toml
32 lines
1.1 KiB
TOML
32 lines
1.1 KiB
TOML
[package]
|
|
name = "maestro"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish.workspace = true
|
|
description = "Unified `maestro` binary: CLI + per-host daemon + TUI, feature-gated."
|
|
|
|
[[bin]]
|
|
name = "maestro"
|
|
path = "src/main.rs"
|
|
|
|
[features]
|
|
default = ["cli", "daemon", "tui", "web", "haiku-autoname"]
|
|
cli = ["dep:maestro-cli"]
|
|
daemon = ["dep:maestro-daemon"]
|
|
tui = ["dep:maestro-tui"]
|
|
# The daemon serves the browser SPA itself; needs `daemon` to have any effect.
|
|
web = ["maestro-daemon?/web"]
|
|
# Name a session after its first prompt (#131). `?` so a build that leaves
|
|
# the daemon or the CLI out does not pull it back in.
|
|
haiku-autoname = ["maestro-cli?/haiku-autoname", "maestro-daemon?/haiku-autoname"]
|
|
|
|
[dependencies]
|
|
clap.workspace = true
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "signal"] }
|
|
tracing-subscriber.workspace = true
|
|
maestro-cli = { path = "../maestro-cli", optional = true, default-features = false }
|
|
maestro-daemon = { path = "../maestro-daemon", optional = true, default-features = false }
|
|
maestro-tui = { path = "../maestro-tui", optional = true }
|