larust-cli 0.7.0

A Laravel-shaped web framework for Rust.
[package]
name = "larust-cli"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description.workspace = true
homepage.workspace = true

[[bin]]
name = "xr"
path = "src/main.rs"

[dependencies]
clap = { workspace = true }
anyhow = { workspace = true }
pathdiff = { workspace = true }
notify = { workspace = true }
notify-debouncer-mini = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
ctrlc = { workspace = true }
# `xr dev`/`xr restart` (src/dev.rs, src/restart.rs) read `APP_NAME`/
# `APP_PORT` from `.env` directly (not via `larust_core::Config` - see
# that module's own doc comment for why: they run *outside* the target
# app's compiled binary and can't call its generated `config::app::config`).
dotenvy = { workspace = true }
# `xr restart` (src/restart.rs) connects to the running app's admin
# restart channel via `larust_core::__internal::admin`.
larust-core = { path = "../larust-core", version = "0.7.0" }
# `xr convert`'s parsing/codegen logic, and the shared `generate_file`/
# `append_to_mod_rs`/etc. primitives `xr make:*` also uses - see
# `larust-convert::codegen`'s own doc comment for why these moved out of
# this crate's `generate.rs`.
larust-convert = { path = "../larust-convert", version = "0.7.0" }
tokio = { workspace = true }
# `xr new`'s interactive wizard (src/wizard.rs) - see that module's own
# doc comment.
dialoguer = { workspace = true }
# `terminal_title.rs` - relabels `xr dev`'s own process (`SetConsoleTitleW`
# plus a named event handle on Windows, `prctl(PR_SET_NAME)`/real
# `setproctitle()` on Linux/BSD) so `tasklist`/Task Manager/`ps`/`top` can
# tell one running `xr dev` session apart from another. A plain
# cross-platform dependency, not target-gated - its own internal `cfg`
# dispatch already degrades to a safe no-op on anything unlisted.
proctitle = "0.1"

[target.'cfg(windows)'.dependencies]
# `deploy.rs`'s `start_detached` (`xr deploy --run`'s cold-start path)
# needs `SetHandleInformation`/`GetStdHandle` to stop a detached child from
# leaking a stray, still-open handle to *this* process's own inherited
# stdout/stderr pipe - see that function's own doc comment for why a plain
# `Stdio::null()` alone isn't enough on Windows specifically.
windows-sys = { version = "0.59", features = [
    "Win32_Foundation",
    "Win32_System_Console",
] }

[dev-dependencies]
tempfile = { workspace = true }
syn = { workspace = true, features = ["full"] }