# Conflicts: # crates/maestro-daemon/Cargo.toml # crates/maestro-daemon/src/local_api.rs # crates/maestro/Cargo.toml
52 lines
1.6 KiB
TOML
52 lines
1.6 KiB
TOML
[package]
|
|
name = "maestro-daemon"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish.workspace = true
|
|
description = "Per-host tmux wrapper + session orchestrator"
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[features]
|
|
default = ["web", "haiku-autoname"]
|
|
# Embed and serve the browser SPA off the daemon's own listener. Requires
|
|
# pnpm + node at build time (or a prebuilt bundle via MAESTRO_WEB_DIST).
|
|
web = ["dep:include_dir", "dep:mime_guess"]
|
|
# Name a session after its first prompt (#131): the `/api/sessions/:id/prompt`
|
|
# route, the `claude -p` naming run behind it, and the agent hook that feeds
|
|
# it. Off leaves sessions on the handle the daemon generates at spawn.
|
|
haiku-autoname = ["maestro-hooks/haiku-autoname"]
|
|
|
|
[dependencies]
|
|
axum.workspace = true
|
|
chrono.workspace = true
|
|
clap.workspace = true
|
|
dirs.workspace = true
|
|
futures-util.workspace = true
|
|
include_dir = { workspace = true, optional = true }
|
|
libc.workspace = true
|
|
mime_guess = { workspace = true, optional = true }
|
|
maestro-config.workspace = true
|
|
maestro-hooks = { workspace = true, default-features = false }
|
|
maestro-names.workspace = true
|
|
maestro-protocol.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
thiserror.workspace = true
|
|
tokio.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
uuid.workspace = true
|
|
|
|
[dev-dependencies]
|
|
reqwest.workspace = true
|
|
tokio-tungstenite.workspace = true
|
|
urlencoding = "2"
|
|
tempfile.workspace = true
|
|
maestro-names.workspace = true
|
|
# `test-util` enables `start_paused` for instant timeout tests (NAP-270).
|
|
tokio = { workspace = true, features = ["test-util"] }
|