Skip to content

chore(deps): png 0.18 (API migration) + fs-err/time patch group#121

Merged
TimLai666 merged 1 commit into
mainfrom
chore/deps-png-time-fs-err
Jul 10, 2026
Merged

chore(deps): png 0.18 (API migration) + fs-err/time patch group#121
TimLai666 merged 1 commit into
mainfrom
chore/deps-png-time-fs-err

Conversation

@TimLai666

Copy link
Copy Markdown
Owner

Handles Dependabot #116 (cargo-minor-patch group) and #117 (png) together, verified on the current toolchain (rustc 1.97.0) rather than their stale 07-05 CI.

  • png 0.17.16 → 0.18.1 — real API break, migrated in whp-helper/dib.rs (CF_DIB↔PNG clipboard conversion): 0.18's Decoder::new requires Read + Seek&[u8] wrapped in std::io::Cursor; Reader::output_buffer_size() now returns Option<usize> → threaded with ?.
  • fs-err 3.3.0→3.3.1, time 0.3.51→0.3.53, time-macros 0.2.30→0.2.31 — patch-level, Cargo.lock only.

Verified locally: whp-helper builds; the 4 dib PNG↔DIB roundtrip/orientation unit tests pass (both encode + decode); full-workspace clippy --all-targets -D warnings + fmt --check clean. Supersedes #116 and #117 (closing them).

🤖 Generated with Claude Code

…roup

Handles Dependabot #116 (cargo-minor-patch group) and #117 (png) together,
verified on the current toolchain (rustc 1.97.0) rather than their stale CI:

- **png 0.17.16 → 0.18.1** — real API break, migrated in whp-helper/dib.rs
  (CF_DIB↔PNG clipboard conversion): 0.18's `Decoder::new` now requires
  `Read + Seek`, so the `&[u8]` input is wrapped in `std::io::Cursor`; and
  `Reader::output_buffer_size()` now returns `Option<usize>` (None on size
  overflow), threaded through with `?`.
- **fs-err 3.3.0 → 3.3.1, time 0.3.51 → 0.3.53, time-macros 0.2.30 → 0.2.31**
  — patch-level, Cargo.lock only (Dependabot's minor-patch group).

Verified: whp-helper builds; the 4 dib PNG↔DIB roundtrip/orientation unit tests
pass (exercise both encode and decode paths); full-workspace
`clippy --all-targets -D warnings` and `fmt --check` clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@TimLai666
TimLai666 merged commit 69725fc into main Jul 10, 2026
17 checks passed
@TimLai666
TimLai666 deleted the chore/deps-png-time-fs-err branch July 10, 2026 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant