35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[package]
|
|
name = "lightcraft-cli"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
description = "LightCraft command-line tool: headless render, command listing and the MCP server"
|
|
|
|
[[bin]]
|
|
name = "lightcraft-cli"
|
|
path = "src/main.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
lightcraft-engine = { workspace = true }
|
|
lightcraft-sysmem = { workspace = true }
|
|
lightcraft-mcp = { workspace = true }
|
|
lightcraft-ui-egui = { workspace = true }
|
|
lightcraft-codecs = { workspace = true }
|
|
lightcraft-raster = { workspace = true }
|
|
lightcraft-merge = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
dhat = { workspace = true, optional = true }
|
|
|
|
[features]
|
|
default = ["denoise"]
|
|
denoise = ["lightcraft-engine/denoise"]
|
|
rawnind-model = ["denoise", "lightcraft-engine/rawnind-model"]
|
|
# Heap profiling: `cargo run --release -p lightcraft-cli --features dhat-heap -- snapshot …` counts
|
|
# every allocation (live/peak bytes in `library.memory` / `ui.inspect`) and writes dhat-heap.json
|
|
# (open it in DHAT's viewer: allocation sites by bytes at the peak). Slows allocation-heavy work.
|
|
dhat-heap = ["dep:dhat"]
|