build: add local just workflow

Add a justfile for the common fcry developer commands. The run recipe is
variadic and uses just positional arguments so program flags are forwarded
through cargo run without needing a second separator.

Keep the default release profile debuggable and checked, then move the
stripped, LTO-enabled artifact settings into the production profile. This
keeps day-to-day release builds easier to inspect while preserving an explicit
production build recipe for optimized distributable binaries.

The clippy recipe uses workspace, all-target, all-feature coverage and denies
warnings so the task runner matches the stricter local verification path.

Test Plan:
- cargo clippy
- cargo clippy --benches
- cargo clippy --tests
- cargo +nightly fmt
- just --fmt --check
- just run --help
- just clippy
- git diff --cached --check

Refs: none
This commit is contained in:
2026-06-10 21:18:10 +02:00
parent 126a86ec07
commit f44cfc6190
2 changed files with 46 additions and 1 deletions
+13 -1
View File
@@ -36,8 +36,20 @@ windows-sys = {
}
[profile.release]
debug = true
strip = false
debug-assertions = true
overflow-checks = true
lto = false
panic = "unwind"
incremental = true
[profile.production]
inherits = "release"
debug = false
strip = true
debug-assertions = false
overflow-checks = false
lto = true
panic = "unwind"
incremental = false
codegen-units = 1