Skip to content

0.4.0 - 2026-07-06

Choose a tag to compare

@github-actions github-actions released this 07 Jul 06:38

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 / Severity framework, grouped-by-file output, and
    CI-native exit codes (0 clean · 7 error finding · 2 usage · 3 no
    inputs) reusing the exit-7 CheckFailed gate.
  • 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.toml config (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
    stable crustyimg.lint/v1 JSON report and SARIF 2.1.0 for GitHub
    code-scanning (github/codeql-action/upload-sarif).
  • CI on-ramp: the setup-crustyimg
    and crustyimg-action GitHub
    Actions (their own repos), a .pre-commit-hooks.yaml hook, and a
    just lint-images recipe — 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 | sh

Install 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/crustyimg

Download 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