Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

Merge branch 'worktree-agent-ace55e56f06440d66'

Brandon Thomase32c4549a770
diff --cc xtask/src/main.rs
index fb19fc0b7,fb63d8d7e..268ba72ee
--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@@ -4,8 -4,8 +4,9 @@@
//! invoked through `std::process::Command`.
mod assets;
+mod bench;
mod layers;
+ mod parity;
mod stats;
mod web;
@@@ -17,10 -17,10 +18,13 @@@ usage: cargo xtask <command
commands:
assets every image/icon/font/media file is attributed in assets/ATTRIBUTION.md; no Adobe assets
+ bench [FILE] [--strict] [--threshold PCT]
+ run the render benchmark, append to target/bench/history.jsonl, compare CPU time with
+ the previous run (default input: corpus/raw/arw-sony-a7m3-compressed.arw)
layers enforce the crate dependency layering (plan/architecture.md §3)
+ parity [--write]
+ check docs/parity.md (every cmd:/ctl: id and path it cites exists) and print the
+ Lightroom parity summary; --write refreshes the summary table in the document
wasm cargo check --target wasm32-unknown-unknown for the wasm-safe crates (+ the web app)
web [--serve [port]] [--dev]
build the browser app (apps/lightcraft-web) into <target>/web/;
@@@ -37,7 -37,7 +41,8 @@@ fn main() -> ExitCode
let result = match args.first().map(String::as_str) {
Some("layers") => cmd_layers(),
Some("assets") => assets::run(&root()),
+ Some("bench") => bench::run(&root(), &rest),
+ Some("parity") => parity::run(&root(), rest.contains(&"--write")),
Some("wasm") => cmd_wasm(),
Some("web") => web::run(&rest),
Some("ci") => cmd_ci(),