0.4.0 - 2026-07-06
Release Notes
Image linting (PROJ-004). crustyimg lint is a format-aware, no-URL,
per-file CI linter for an image asset tree ("clippy for image assets"): it flags
privacy / format / size / colorspace problems, names a runnable crustyimg fix
for each, and exits 7 on an error finding. Plus a GitHub Actions on-ramp. Zero
new default dependencies; the default build stays pure-Rust / zero-system-deps.
Added
crustyimg lint [PATHS]…— a read-only, advisory image-asset linter:
source-resolution fan-out (globs / dirs / files, non-images skipped), a
Rule/Finding/Severityframework, grouped-by-file output, and
CI-native exit codes (0clean ·7error finding ·2usage ·3no
inputs) reusing the exit-7CheckFailedgate.- Rule catalog (each names a runnable fix):
privacy/gps-metadata-leak,
privacy/camera-metadata,orient/orientation-not-baked,
size/oversized-bytes,size/truncated-or-corrupt,
dims/oversized-dimensions,color/wrong-colorspace,color/missing-icc,
color/unexpected-icc,format/animated-gif. .crustyimg-lint.tomlconfig (auto-discovered): ruff-style
select/ignore+per-file-ignores, eslint-style per-rule severity,
per-glob[[budget]], and a savings threshold; plus the CLI flags
--config/--no-config/--select/--ignore/--max-warnings/
--max-intended-width/--savings-threshold.lint --format json|sarif— hand-rolled reports, no new dependency: a
stablecrustyimg.lint/v1JSON report and SARIF 2.1.0 for GitHub
code-scanning (github/codeql-action/upload-sarif).- CI on-ramp: the
setup-crustyimg
andcrustyimg-actionGitHub
Actions (their own repos), a.pre-commit-hooks.yamlhook, and a
just lint-imagesrecipe — drop image linting into any CI in three lines.
Install crustyimg 0.4.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/jysf/crustyimg/releases/download/v0.4.0/crustyimg-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/jysf/crustyimg/releases/download/v0.4.0/crustyimg-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install jysf/tap/crustyimgDownload crustyimg 0.4.0
| File | Platform | Checksum |
|---|---|---|
| crustyimg-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| crustyimg-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| crustyimg-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| crustyimg-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |