mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-22 02:10:54 +01:00
Repairs the `images` crate compile regression after #2921, part of storytold/craft-libs#778. - Reuse the existing `errors::anyhow` export rather than calling a dev-only dependency from library code. - Convert the four 16-bit sample `Option`s to errors when absent. No changes to the successful conversion path, dependency manifests, or lockfile. [Failing main archive build](https://github.com/storytold/artcraft/actions/runs/44787490748/job/136466195940) reported E0433 and E0599 before tests could run. Repository rustfmt and `git diff --check` passed. No full local build was run; hosted build and the existing shared-codec raster regressions still need to pass. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Bug Fixes** * Standardized the error message shown when 16-bit image samples cannot be read. <!-- end of auto-generated comment: release notes by coderabbit.ai -->